f1module Cisco-IOS-XR-um-router-ospfv3-cfg {f1module Cisco-IOS-XR-um-router-ospfv3-cfg {
2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-ospfv3-cfg";2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-ospfv3-cfg";
3  prefix um-router-ospfv3-cfg;3  prefix um-router-ospfv3-cfg;
44
5  import cisco-semver {5  import cisco-semver {
6    prefix semver;6    prefix semver;
7  }7  }
8  import Cisco-IOS-XR-types {8  import Cisco-IOS-XR-types {
9    prefix xr;9    prefix xr;
10  }10  }
11  import ietf-inet-types {11  import ietf-inet-types {
12    prefix inet;12    prefix inet;
13  }13  }
14  import Cisco-IOS-XR-um-snmp-server-cfg {14  import Cisco-IOS-XR-um-snmp-server-cfg {
15    prefix a1;15    prefix a1;
16  }16  }
1717
18  organization18  organization
19    "Cisco Systems, Inc.";19    "Cisco Systems, Inc.";
20  contact20  contact
21    "Cisco Systems, Inc.21    "Cisco Systems, Inc.
22     Customer Service22     Customer Service
23     23     
24     Postal: 170 West Tasman Drive24     Postal: 170 West Tasman Drive
25     San Jose, CA 9513425     San Jose, CA 95134
26     26     
27     Tel: +1 800 553-NETS27     Tel: +1 800 553-NETS
28     28     
29     E-mail: cs-yang@cisco.com";29     E-mail: cs-yang@cisco.com";
30  description30  description
31    "This module contains a collection of YANG definitions31    "This module contains a collection of YANG definitions
32     for Cisco IOS-XR router-ospfv3 package configuration.32     for Cisco IOS-XR router-ospfv3 package configuration.
33     33     
34     This YANG module augments the34     This YANG module augments the
35     modules with configuration data.35     modules with configuration data.
36     36     
n37     Copyright (c) 2019-2023 by Cisco Systems, Inc.n37     Copyright (c) 2019-2022 by Cisco Systems, Inc.
38     All rights reserved.";38     All rights reserved.";
3939
n40  revision 2022-07-11 {n
41    description
42      "Added missing description statement to nodes";
43    semver:module-version "2.3.0";
44  }
45  revision 2021-09-15 {40  revision 2021-09-15 {
46    description41    description
47      "Added container lls/disable under capability";42      "Added container lls/disable under capability";
48    semver:module-version "2.2.0";43    semver:module-version "2.2.0";
49  }44  }
50  revision 2021-03-11 {45  revision 2021-03-11 {
51    description46    description
52      "Added container strict-lsa-checking under graceful-restart47      "Added container strict-lsa-checking under graceful-restart
53       2021-02-1248       2021-02-12
n54           Added leaf disable undern49          Added leaf disable under
55         (1) area/database-filter,50        (1) area/database-filter,
56         (2) area/interface/database-filter51        (2) area/interface/database-filter
57         (3) vrf/area/database-filter52        (3) vrf/area/database-filter
58         (4) vrf/area/interface/database-filter53        (4) vrf/area/interface/database-filter
59       2021-01-2054       2021-01-20
n60           Added leaf route-policy under default-information";n55          Added leaf route-policy under default-information";
61    semver:module-version "2.1.0";56    semver:module-version "2.1.0";
62  }57  }
63  revision 2020-05-26 {58  revision 2020-05-26 {
64    description59    description
65      "(1) Added container advertise and its child nodes under area/interface60      "(1) Added container advertise and its child nodes under area/interface
n66         (2) Removed container include-stub from stub-router/router-lsa/r-bit|v6-bitn61        (2) Removed container include-stub from stub-router/router-lsa/r-bit|v6-bit
67       2020-04-1462       2020-04-14
n68         Moved translate out of nssa into the new node nssa-translate";n63        Moved translate out of nssa into the new node nssa-translate";
69    semver:module-version "2.0.0";64    semver:module-version "2.0.0";
70  }65  }
71  revision 2019-06-10 {66  revision 2019-06-10 {
72    description67    description
73      "Establish semantic version baseline.";68      "Establish semantic version baseline.";
74    semver:module-version "1.0.0";69    semver:module-version "1.0.0";
75  }70  }
76  revision 2019-03-30 {71  revision 2019-03-30 {
77    description72    description
78      "Initial version";73      "Initial version";
79  }74  }
8075
81  augment "/a1:snmp-server/a1:traps" {76  augment "/a1:snmp-server/a1:traps" {
n82    descriptionn
83      "This augment extends snmp-server traps nodes
84       configuration";
85    container ospfv3 {77    container ospfv3 {
86      description78      description
87        "Enable SNMP ospfv3 traps";79        "Enable SNMP ospfv3 traps";
88      container errors {80      container errors {
89        description81        description
90          "Enable SNMP traps for ospfv3 errors";82          "Enable SNMP traps for ospfv3 errors";
91        container config-error {83        container config-error {
92          presence "Indicates a config-error node is configured.";84          presence "Indicates a config-error node is configured.";
93          description85          description
94            "Enable SNMP traps for interface configuration errors";86            "Enable SNMP traps for interface configuration errors";
95        }87        }
96        container virt-config-error {88        container virt-config-error {
97          presence "Indicates a virt-config-error node is configured.";89          presence "Indicates a virt-config-error node is configured.";
98          description90          description
99            "Enable SNMP traps for config errors on virtual interfaces";91            "Enable SNMP traps for config errors on virtual interfaces";
100        }92        }
101        container bad-packet {93        container bad-packet {
102          presence "Indicates a bad-packet node is configured.";94          presence "Indicates a bad-packet node is configured.";
103          description95          description
104            "Enable SNMP traps for bad packet errors received on interfaces";96            "Enable SNMP traps for bad packet errors received on interfaces";
105        }97        }
106        container virt-bad-packet {98        container virt-bad-packet {
107          presence "Indicates a virt-bad-packet node is configured.";99          presence "Indicates a virt-bad-packet node is configured.";
108          description100          description
109            "Enable SNMP traps for bad packet errors on virtual interfaces";101            "Enable SNMP traps for bad packet errors on virtual interfaces";
110        }102        }
111      }103      }
112      container state-change {104      container state-change {
113        description105        description
114          "Enable SNMP traps for ospfv3 state change";106          "Enable SNMP traps for ospfv3 state change";
115        container if-state-change {107        container if-state-change {
116          presence "Indicates a if-state-change node is configured.";108          presence "Indicates a if-state-change node is configured.";
117          description109          description
118            "Enable SNMP traps for ospfv3 interface state change";110            "Enable SNMP traps for ospfv3 interface state change";
119        }111        }
120        container neighbor-state-change {112        container neighbor-state-change {
121          presence "Indicates a neighbor-state-change node is configured.";113          presence "Indicates a neighbor-state-change node is configured.";
122          description114          description
123            "Enable SNMP traps for ospfv3 neighbor state change";115            "Enable SNMP traps for ospfv3 neighbor state change";
124        }116        }
125        container virtif-state-change {117        container virtif-state-change {
126          presence "Indicates a virtif-state-change node is configured.";118          presence "Indicates a virtif-state-change node is configured.";
127          description119          description
128            "Enable SNMP traps for ospfv3 virtual interface state change";120            "Enable SNMP traps for ospfv3 virtual interface state change";
129        }121        }
130        container virtneighbor-state-change {122        container virtneighbor-state-change {
131          presence "Indicates a virtneighbor-state-change node is configured.";123          presence "Indicates a virtneighbor-state-change node is configured.";
132          description124          description
133            "Enable SNMP traps for ospfv3 virtual neighbor state change";125            "Enable SNMP traps for ospfv3 virtual neighbor state change";
134        }126        }
135        container restart-status-change {127        container restart-status-change {
136          presence "Indicates a restart-status-change node is configured.";128          presence "Indicates a restart-status-change node is configured.";
137          description129          description
138            "Enable SNMP traps for ospfv3 restart status change";130            "Enable SNMP traps for ospfv3 restart status change";
139        }131        }
140        container restart-helper-status-change {132        container restart-helper-status-change {
141          presence "Indicates a restart-helper-status-change node is configured.";133          presence "Indicates a restart-helper-status-change node is configured.";
142          description134          description
143            "Enable SNMP traps for ospfv3 restart helper status change";135            "Enable SNMP traps for ospfv3 restart helper status change";
144        }136        }
145        container restart-virtual-helper-status-change {137        container restart-virtual-helper-status-change {
146          presence "Indicates a restart-virtual-helper-status-change node is configured.";138          presence "Indicates a restart-virtual-helper-status-change node is configured.";
147          description139          description
148            "Enable SNMP traps for ospfv3 virtual helper restart status change";140            "Enable SNMP traps for ospfv3 virtual helper restart status change";
149        }141        }
150        container nssa-state-change {142        container nssa-state-change {
151          presence "Indicates a nssa-state-change node is configured.";143          presence "Indicates a nssa-state-change node is configured.";
152          description144          description
153            "Enable SNMP traps for ospfv3 NSSA status change";145            "Enable SNMP traps for ospfv3 NSSA status change";
154        }146        }
155      }147      }
156    }148    }
157  }149  }
158  container router {150  container router {
159    description151    description
160      "Enable a routing process";152      "Enable a routing process";
161    container ospfv3 {153    container ospfv3 {
162      description154      description
163        "IPv6 Open Shortest Path First protocol (OSPFv3)";155        "IPv6 Open Shortest Path First protocol (OSPFv3)";
164      container processes {156      container processes {
165        description157        description
166          "IPv6 Open Shortest Path First protocol (OSPFv3)";158          "IPv6 Open Shortest Path First protocol (OSPFv3)";
167        list process {159        list process {
168          key "process-name";160          key "process-name";
169          description161          description
170            "IPv6 Open Shortest Path First protocol (OSPFv3)";162            "IPv6 Open Shortest Path First protocol (OSPFv3)";
171          leaf process-name {163          leaf process-name {
172            type xr:Cisco-ios-xr-string {164            type xr:Cisco-ios-xr-string {
173              length "1..32" {165              length "1..32" {
174                description166                description
175                  "Name for this OSPFv3 process";167                  "Name for this OSPFv3 process";
176              }168              }
177            }169            }
178            description170            description
179              "IPv6 Open Shortest Path First protocol (OSPFv3)";171              "IPv6 Open Shortest Path First protocol (OSPFv3)";
180          }172          }
181          container capability {173          container capability {
182            description174            description
183              "Enable specific OSPFv3 feature";175              "Enable specific OSPFv3 feature";
184            container type7 {176            container type7 {
185              description177              description
186                "NSSA capability";178                "NSSA capability";
187              container prefer {179              container prefer {
188                presence "Indicates a prefer node is configured.";180                presence "Indicates a prefer node is configured.";
189                description181                description
190                  "Prefer type7 externals over type5";182                  "Prefer type7 externals over type5";
191              }183              }
192              container translate {184              container translate {
193                description185                description
194                  "Translate type7 to type5";186                  "Translate type7 to type5";
195                container zero-forward-addr {187                container zero-forward-addr {
196                  presence "Indicates a zero-forward-addr node is configured.";188                  presence "Indicates a zero-forward-addr node is configured.";
197                  description189                  description
198                    "Translate Type 7 LSAs without forwarding address";190                    "Translate Type 7 LSAs without forwarding address";
199                }191                }
200              }192              }
201            }193            }
202            container lls {194            container lls {
203              description195              description
204                "LLS capability";196                "LLS capability";
205              container disable {197              container disable {
206                presence "Indicates a disable node is configured.";198                presence "Indicates a disable node is configured.";
207                description199                description
208                  "Disable LLS capability";200                  "Disable LLS capability";
209              }201              }
210            }202            }
211          }203          }
212          container areas {204          container areas {
213            description205            description
214              "Enter the OSPFv3 area configuration submode";206              "Enter the OSPFv3 area configuration submode";
215            list area {207            list area {
216              key "area-id";208              key "area-id";
217              description209              description
218                "Enter the OSPFv3 area configuration submode";210                "Enter the OSPFv3 area configuration submode";
219              leaf area-id {211              leaf area-id {
220                type xr:Ospf-area-id;212                type xr:Ospf-area-id;
221                description213                description
222                  "Enter the OSPFv3 area configuration submode";214                  "Enter the OSPFv3 area configuration submode";
223              }215              }
224              leaf default-cost {216              leaf default-cost {
225                type uint32 {217                type uint32 {
226                  range "0..16777215" {218                  range "0..16777215" {
227                    description219                    description
228                      "Stub's advertised external route metric";220                      "Stub's advertised external route metric";
229                  }221                  }
230                }222                }
231                description223                description
232                  "Set the summary default-cost of a NSSA/stub area";224                  "Set the summary default-cost of a NSSA/stub area";
233              }225              }
234              container nssa {226              container nssa {
235                presence "Indicates a nssa node is configured.";227                presence "Indicates a nssa node is configured.";
236                description228                description
237                  "Specify area as an NSSA area";229                  "Specify area as an NSSA area";
238                container no-redistribution {230                container no-redistribution {
239                  presence "Indicates a no-redistribution node is configured.";231                  presence "Indicates a no-redistribution node is configured.";
240                  description232                  description
241                    "No redistribution into this NSSA area";233                    "No redistribution into this NSSA area";
242                }234                }
243                container default-information-originate {235                container default-information-originate {
244                  presence "Indicates a default-information-originate node is configured.";236                  presence "Indicates a default-information-originate node is configured.";
245                  description237                  description
246                    "Originate Type 7 default into NSSA area";238                    "Originate Type 7 default into NSSA area";
247                  leaf metric {239                  leaf metric {
248                    type uint32 {240                    type uint32 {
249                      range "0..16777214" {241                      range "0..16777214" {
250                        description242                        description
251                          "OSPFv3 metric";243                          "OSPFv3 metric";
252                      }244                      }
253                    }245                    }
254                    description246                    description
255                      "OSPFv3 default metric";247                      "OSPFv3 default metric";
256                  }248                  }
257                  leaf metric-type {249                  leaf metric-type {
258                    type uint32 {250                    type uint32 {
259                      range "1..2" {251                      range "1..2" {
260                        description252                        description
261                          "OSPFv3 Link State type";253                          "OSPFv3 Link State type";
262                      }254                      }
263                    }255                    }
264                    description256                    description
265                      "OSPFv3 metric type for default routes";257                      "OSPFv3 metric type for default routes";
266                  }258                  }
267                }259                }
268                container no-summary {260                container no-summary {
269                  presence "Indicates a no-summary node is configured.";261                  presence "Indicates a no-summary node is configured.";
270                  description262                  description
271                    "Do not send summary LSA into NSSA";263                    "Do not send summary LSA into NSSA";
272                }264                }
273              }265              }
274              container nssa-translate {266              container nssa-translate {
275                description267                description
276                  "Translate NSSA LSA";268                  "Translate NSSA LSA";
277                container type7 {269                container type7 {
278                  description270                  description
279                    "Translate type 7 to type 5";271                    "Translate type 7 to type 5";
280                  container always {272                  container always {
281                    presence "Indicates a always node is configured.";273                    presence "Indicates a always node is configured.";
282                    description274                    description
283                      "Always translate NSSA LSAs on this ABR";275                      "Always translate NSSA LSAs on this ABR";
284                  }276                  }
285                }277                }
286              }278              }
287              container ranges {279              container ranges {
288                description280                description
289                  "Summarize inter-area routes matching prefix/length";281                  "Summarize inter-area routes matching prefix/length";
290                list range {282                list range {
291                  must "advertise or not-advertise";283                  must "advertise or not-advertise";
292                  key "prefix prefix-length";284                  key "prefix prefix-length";
293                  description285                  description
294                    "Summarize inter-area routes matching prefix/length";286                    "Summarize inter-area routes matching prefix/length";
295                  leaf prefix {287                  leaf prefix {
296                    type inet:ipv6-address-no-zone;288                    type inet:ipv6-address-no-zone;
297                    description289                    description
298                      "Summarize inter-area routes matching prefix/length";290                      "Summarize inter-area routes matching prefix/length";
299                  }291                  }
300                  leaf prefix-length {292                  leaf prefix-length {
301                    type xr:Ipv6-prefix-length;293                    type xr:Ipv6-prefix-length;
302                    description294                    description
303                      "Summarize inter-area routes matching prefix/length";295                      "Summarize inter-area routes matching prefix/length";
304                  }296                  }
305                  leaf cost {297                  leaf cost {
306                    type uint32 {298                    type uint32 {
307                      range "1..16777214" {299                      range "1..16777214" {
308                        description300                        description
309                          "Advertised metric for this range";301                          "Advertised metric for this range";
310                      }302                      }
311                    }303                    }
312                    description304                    description
313                      "User specified metric for this range";305                      "User specified metric for this range";
314                  }306                  }
315                  container advertise {307                  container advertise {
316                    presence "Indicates a advertise node is configured.";308                    presence "Indicates a advertise node is configured.";
317                    description309                    description
318                      "Advertise this range (default)";310                      "Advertise this range (default)";
319                  }311                  }
320                  container not-advertise {312                  container not-advertise {
321                    presence "Indicates a not-advertise node is configured.";313                    presence "Indicates a not-advertise node is configured.";
322                    description314                    description
323                      "Do not advertise this range";315                      "Do not advertise this range";
324                  }316                  }
325                }317                }
326              }318              }
327              container stub {319              container stub {
328                presence "Indicates a stub node is configured.";320                presence "Indicates a stub node is configured.";
329                description321                description
330                  "Specify area as a stub area";322                  "Specify area as a stub area";
331                container no-summary {323                container no-summary {
332                  presence "Indicates a no-summary node is configured.";324                  presence "Indicates a no-summary node is configured.";
333                  description325                  description
334                    "Do not send summary LSAs into stub area";326                    "Do not send summary LSAs into stub area";
335                }327                }
336              }328              }
337              container interfaces {329              container interfaces {
338                description330                description
339                  "Enable OSPFv3 on an interface";331                  "Enable OSPFv3 on an interface";
340                list interface {332                list interface {
341                  key "interface-name";333                  key "interface-name";
342                  description334                  description
343                    "Enable OSPFv3 on an interface";335                    "Enable OSPFv3 on an interface";
344                  leaf interface-name {336                  leaf interface-name {
345                    type xr:Interface-name;337                    type xr:Interface-name;
346                    description338                    description
347                      "Enable OSPFv3 on an interface";339                      "Enable OSPFv3 on an interface";
348                  }340                  }
349                  container authentication {341                  container authentication {
350                    must "disable or ipsec/spi";342                    must "disable or ipsec/spi";
351                    presence "Indicates a authentication node is configured.";343                    presence "Indicates a authentication node is configured.";
352                    description344                    description
353                      "Authenticate OSPFv3 packets";345                      "Authenticate OSPFv3 packets";
354                    container disable {346                    container disable {
355                      must "not(../ipsec/spi)";347                      must "not(../ipsec/spi)";
356                      presence "Indicates a disable node is configured.";348                      presence "Indicates a disable node is configured.";
357                      description349                      description
358                        "Do not authenticate OSPFv3 packets";350                        "Do not authenticate OSPFv3 packets";
359                    }351                    }
360                    container ipsec {352                    container ipsec {
361                      description353                      description
362                        "Use IPSec AH authentication";354                        "Use IPSec AH authentication";
363                      container spi {355                      container spi {
364                        must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";356                        must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
365                        presence "Indicates a spi node is configured.";357                        presence "Indicates a spi node is configured.";
366                        description358                        description
367                          "Specify the Security Parameter Index value";359                          "Specify the Security Parameter Index value";
368                        leaf spi-index {360                        leaf spi-index {
369                          type uint32 {361                          type uint32 {
370                            range "256..4294967295" {362                            range "256..4294967295" {
371                              description363                              description
372                                "Security Parameter Index value";364                                "Security Parameter Index value";
373                            }365                            }
374                          }366                          }
375                          mandatory true;367                          mandatory true;
376                          description368                          description
377                            "Specify the Security Parameter Index value";369                            "Specify the Security Parameter Index value";
378                        }370                        }
379                        container md5 {371                        container md5 {
380                          description372                          description
381                            "Use the MD5 algorithim";373                            "Use the MD5 algorithim";
382                          container password {374                          container password {
383                            description375                            description
384                              "Enter MD5 key in encrypted form";376                              "Enter MD5 key in encrypted form";
385                            leaf encrypted {377                            leaf encrypted {
386                              type xr:Proprietary-password;378                              type xr:Proprietary-password;
387                              description379                              description
388                                "Encrypted key";380                                "Encrypted key";
389                            }381                            }
390                          }382                          }
391                        }383                        }
392                        container sha1 {384                        container sha1 {
393                          description385                          description
394                            "Use the SHA1 algorithim";386                            "Use the SHA1 algorithim";
395                          container password {387                          container password {
396                            description388                            description
397                              "Enter SHA1 key in encrypted form";389                              "Enter SHA1 key in encrypted form";
398                            leaf encrypted {390                            leaf encrypted {
399                              type xr:Proprietary-password;391                              type xr:Proprietary-password;
400                              description392                              description
401                                "Encrypted key";393                                "Encrypted key";
402                            }394                            }
403                          }395                          }
404                        }396                        }
405                      }397                      }
406                    }398                    }
407                  }399                  }
408                  container encryption {400                  container encryption {
409                    must "disable or ipsec/spi";401                    must "disable or ipsec/spi";
410                    presence "Indicates a encryption node is configured.";402                    presence "Indicates a encryption node is configured.";
411                    description403                    description
412                      "Encrypt and authenticate OSPFv3 packets";404                      "Encrypt and authenticate OSPFv3 packets";
413                    container disable {405                    container disable {
414                      must "not(../ipsec/spi)";406                      must "not(../ipsec/spi)";
415                      presence "Indicates a disable node is configured.";407                      presence "Indicates a disable node is configured.";
416                      description408                      description
417                        "Do not encrypt OSPFv3 packets";409                        "Do not encrypt OSPFv3 packets";
418                    }410                    }
419                    container ipsec {411                    container ipsec {
420                      description412                      description
421                        "Use IPSec ESP encryption and authentication";413                        "Use IPSec ESP encryption and authentication";
422                      container spi {414                      container spi {
423                        must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";415                        must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
424                        presence "Indicates a spi node is configured.";416                        presence "Indicates a spi node is configured.";
425                        description417                        description
426                          "Specify the Security Parameter Index value";418                          "Specify the Security Parameter Index value";
427                        leaf spi-index {419                        leaf spi-index {
428                          type uint32 {420                          type uint32 {
429                            range "256..4294967295" {421                            range "256..4294967295" {
430                              description422                              description
431                                "Security Parameter Index value";423                                "Security Parameter Index value";
432                            }424                            }
433                          }425                          }
434                          mandatory true;426                          mandatory true;
435                          description427                          description
436                            "Specify the Security Parameter Index value";428                            "Specify the Security Parameter Index value";
437                        }429                        }
438                        container esp {430                        container esp {
439                          description431                          description
440                            "Specify encryption parameters";432                            "Specify encryption parameters";
441                          container null {433                          container null {
442                            must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";434                            must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
443                            presence "Indicates a null node is configured.";435                            presence "Indicates a null node is configured.";
444                            description436                            description
445                              "Use NULL encryption";437                              "Use NULL encryption";
446                          }438                          }
447                          container des {439                          container des {
448                            description440                            description
449                              "Use the DES algorithim. Encrypted DES key (34 hex digits)";441                              "Use the DES algorithim. Encrypted DES key (34 hex digits)";
450                            container password {442                            container password {
451                              description443                              description
452                                "Enter DES key in encrypted form";444                                "Enter DES key in encrypted form";
453                              leaf encrypted {445                              leaf encrypted {
454                                type xr:Proprietary-password;446                                type xr:Proprietary-password;
455                                must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";447                                must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n456                                descriptionn
457                                  "Encrypted key";
458                              }448                              }
459                            }449                            }
460                          }450                          }
461                          container triple-des {451                          container triple-des {
462                            description452                            description
463                              "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";453                              "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
464                            container password {454                            container password {
465                              description455                              description
466                                "Enter 3DES key in encrypted form";456                                "Enter 3DES key in encrypted form";
467                              leaf encrypted {457                              leaf encrypted {
468                                type xr:Proprietary-password;458                                type xr:Proprietary-password;
469                                must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";459                                must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n470                                descriptionn
471                                  "Encrypted key";
472                              }460                              }
473                            }461                            }
474                          }462                          }
475                          container aes {463                          container aes {
476                            description464                            description
477                              "Use the AES algorithim. Encrypted AES key (32 hex digits)";465                              "Use the AES algorithim. Encrypted AES key (32 hex digits)";
478                            container password {466                            container password {
479                              description467                              description
480                                "Enter AES key in encrypted form";468                                "Enter AES key in encrypted form";
481                              leaf encrypted {469                              leaf encrypted {
482                                type xr:Proprietary-password;470                                type xr:Proprietary-password;
483                                must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";471                                must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n484                                descriptionn
485                                  "Encrypted key";
486                              }472                              }
487                            }473                            }
488                            container aes-192 {474                            container aes-192 {
489                              description475                              description
490                                "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";476                                "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
491                              container password {477                              container password {
492                                description478                                description
493                                  "Enter AES-192 key in encrypted form";479                                  "Enter AES-192 key in encrypted form";
494                                leaf encrypted {480                                leaf encrypted {
495                                  type xr:Proprietary-password;481                                  type xr:Proprietary-password;
496                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";482                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n497                                  descriptionn
498                                    "Encrypted key";
499                                }483                                }
500                              }484                              }
501                            }485                            }
502                            container aes-256 {486                            container aes-256 {
503                              description487                              description
504                                "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";488                                "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
505                              container password {489                              container password {
506                                description490                                description
507                                  "Enter AES-256 key in encrypted form";491                                  "Enter AES-256 key in encrypted form";
508                                leaf encrypted {492                                leaf encrypted {
509                                  type xr:Proprietary-password;493                                  type xr:Proprietary-password;
510                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";494                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n511                                  descriptionn
512                                    "Encrypted key";
513                                }495                                }
514                              }496                              }
515                            }497                            }
516                          }498                          }
517                          container authentication {499                          container authentication {
518                            must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";500                            must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
519                            presence "Indicates a authentication node is configured.";501                            presence "Indicates a authentication node is configured.";
520                            description502                            description
521                              "Specify authentication parameters";503                              "Specify authentication parameters";
522                            container md5 {504                            container md5 {
523                              description505                              description
524                                "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";506                                "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
525                              container password {507                              container password {
526                                description508                                description
527                                  "Enter MD5 key in encrypted form";509                                  "Enter MD5 key in encrypted form";
528                                leaf encrypted {510                                leaf encrypted {
529                                  type xr:Proprietary-password;511                                  type xr:Proprietary-password;
530                                  description512                                  description
531                                    "Enter key in encrypted form";513                                    "Enter key in encrypted form";
532                                }514                                }
533                              }515                              }
534                            }516                            }
535                            container sha1 {517                            container sha1 {
536                              description518                              description
537                                "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";519                                "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
538                              container password {520                              container password {
539                                description521                                description
540                                  "Enter SHA1 key in encrypted form";522                                  "Enter SHA1 key in encrypted form";
541                                leaf encrypted {523                                leaf encrypted {
542                                  type xr:Proprietary-password;524                                  type xr:Proprietary-password;
543                                  description525                                  description
544                                    "Enter key in encrypted form";526                                    "Enter key in encrypted form";
545                                }527                                }
546                              }528                              }
547                            }529                            }
548                            container null {530                            container null {
549                              must "not(../../null)";531                              must "not(../../null)";
550                              presence "Indicates a null node is configured.";532                              presence "Indicates a null node is configured.";
551                              description533                              description
552                                "Use NULL authentication";534                                "Use NULL authentication";
553                            }535                            }
554                          }536                          }
555                        }537                        }
556                      }538                      }
557                    }539                    }
558                  }540                  }
559                  container network {541                  container network {
560                    description542                    description
561                      "Network type";543                      "Network type";
562                    container broadcast {544                    container broadcast {
563                      presence "Indicates a broadcast node is configured.";545                      presence "Indicates a broadcast node is configured.";
564                      description546                      description
565                        "Specify OSPFv3 broadcast multi-access network";547                        "Specify OSPFv3 broadcast multi-access network";
566                    }548                    }
567                    container non-broadcast {549                    container non-broadcast {
568                      presence "Indicates a non-broadcast node is configured.";550                      presence "Indicates a non-broadcast node is configured.";
569                      description551                      description
570                        "Specify OSPFv3 NBMA network";552                        "Specify OSPFv3 NBMA network";
571                    }553                    }
572                    container point-to-point {554                    container point-to-point {
573                      presence "Indicates a point-to-point node is configured.";555                      presence "Indicates a point-to-point node is configured.";
574                      description556                      description
575                        "Specify OSPFv3 point-to-point network";557                        "Specify OSPFv3 point-to-point network";
576                    }558                    }
577                    container point-to-multipoint {559                    container point-to-multipoint {
578                      presence "Indicates a point-to-multipoint node is configured.";560                      presence "Indicates a point-to-multipoint node is configured.";
579                      description561                      description
580                        "Specify OSPFv3 point-to-multipoint network";562                        "Specify OSPFv3 point-to-multipoint network";
581                    }563                    }
582                  }564                  }
583                  container cost {565                  container cost {
584                    description566                    description
585                      "Interface cost";567                      "Interface cost";
586                    leaf cost {568                    leaf cost {
587                      type uint32 {569                      type uint32 {
588                        range "0..65535" {570                        range "0..65535" {
589                          description571                          description
590                            "Cost";572                            "Cost";
591                        }573                        }
592                      }574                      }
593                      description575                      description
594                        "Cost";576                        "Cost";
595                    }577                    }
596                  }578                  }
597                  leaf hello-interval {579                  leaf hello-interval {
598                    type uint32 {580                    type uint32 {
599                      range "1..65535" {581                      range "1..65535" {
600                        description582                        description
601                          "Seconds";583                          "Seconds";
602                      }584                      }
603                    }585                    }
604                    description586                    description
605                      "Time between HELLO packets";587                      "Time between HELLO packets";
606                  }588                  }
607                  leaf dead-interval {589                  leaf dead-interval {
608                    type uint32 {590                    type uint32 {
609                      range "1..65535" {591                      range "1..65535" {
610                        description592                        description
611                          "Seconds";593                          "Seconds";
612                      }594                      }
613                    }595                    }
614                    description596                    description
615                      "Interval after which a neighbor is declared dead";597                      "Interval after which a neighbor is declared dead";
616                  }598                  }
617                  leaf priority {599                  leaf priority {
618                    type uint32 {600                    type uint32 {
619                      range "0..255" {601                      range "0..255" {
620                        description602                        description
621                          "Priority";603                          "Priority";
622                      }604                      }
623                    }605                    }
624                    description606                    description
625                      "Router priority";607                      "Router priority";
626                  }608                  }
627                  leaf retransmit-interval {609                  leaf retransmit-interval {
628                    type uint32 {610                    type uint32 {
629                      range "1..65535" {611                      range "1..65535" {
630                        description612                        description
631                          "Seconds";613                          "Seconds";
632                      }614                      }
633                    }615                    }
634                    description616                    description
635                      "Delay between LSA retransmissions";617                      "Delay between LSA retransmissions";
636                  }618                  }
637                  leaf transmit-delay {619                  leaf transmit-delay {
638                    type uint32 {620                    type uint32 {
639                      range "1..65535" {621                      range "1..65535" {
640                        description622                        description
641                          "Seconds";623                          "Seconds";
642                      }624                      }
643                    }625                    }
644                    description626                    description
645                      "Link state transmit delay";627                      "Link state transmit delay";
646                  }628                  }
647                  container flood-reduction {629                  container flood-reduction {
648                    presence "Indicates a flood-reduction node is configured.";630                    presence "Indicates a flood-reduction node is configured.";
649                    description631                    description
650                      "Enable/Disable flood reduction";632                      "Enable/Disable flood reduction";
651                    container disable {633                    container disable {
652                      presence "Indicates a disable node is configured.";634                      presence "Indicates a disable node is configured.";
653                      description635                      description
654                        "Disable flood reduction";636                        "Disable flood reduction";
655                    }637                    }
656                  }638                  }
657                  container demand-circuit {639                  container demand-circuit {
658                    presence "Indicates a demand-circuit node is configured.";640                    presence "Indicates a demand-circuit node is configured.";
659                    description641                    description
660                      "Enable/Disable demand circuit operation";642                      "Enable/Disable demand circuit operation";
661                    container disable {643                    container disable {
662                      presence "Indicates a disable node is configured.";644                      presence "Indicates a disable node is configured.";
663                      description645                      description
664                        "Disable demand circuit operation";646                        "Disable demand circuit operation";
665                    }647                    }
666                  }648                  }
667                  container mtu-ignore {649                  container mtu-ignore {
668                    presence "Indicates a mtu-ignore node is configured.";650                    presence "Indicates a mtu-ignore node is configured.";
669                    description651                    description
670                      "Enable/Disable ignoring of MTU in DBD packets";652                      "Enable/Disable ignoring of MTU in DBD packets";
671                    container disable {653                    container disable {
672                      presence "Indicates a disable node is configured.";654                      presence "Indicates a disable node is configured.";
673                      description655                      description
674                        "Validate the MTU in DBD packets";656                        "Validate the MTU in DBD packets";
675                    }657                    }
676                  }658                  }
677                  leaf instance {659                  leaf instance {
678                    type uint32 {660                    type uint32 {
679                      range "0..255" {661                      range "0..255" {
680                        description662                        description
681                          "Instance ID";663                          "Instance ID";
682                      }664                      }
683                    }665                    }
684                    description666                    description
685                      "Instance ID";667                      "Instance ID";
686                  }668                  }
687                  container database-filter {669                  container database-filter {
688                    description670                    description
689                      "Filter LSAs during synchronization and flooding";671                      "Filter LSAs during synchronization and flooding";
690                    container all {672                    container all {
691                      description673                      description
692                        "Filter all LSA";674                        "Filter all LSA";
693                      container out {675                      container out {
694                        presence "Indicates a out node is configured.";676                        presence "Indicates a out node is configured.";
695                        description677                        description
696                          "Outgoing LSA";678                          "Outgoing LSA";
697                        container disable {679                        container disable {
698                          presence "Indicates a disable node is configured.";680                          presence "Indicates a disable node is configured.";
699                          description681                          description
700                            "Disable filtering";682                            "Disable filtering";
701                        }683                        }
702                      }684                      }
703                    }685                    }
704                  }686                  }
705                  container passive {687                  container passive {
706                    presence "Indicates a passive node is configured.";688                    presence "Indicates a passive node is configured.";
707                    description689                    description
708                      "Enable/Disable routing updates on an interface";690                      "Enable/Disable routing updates on an interface";
709                    container disable {691                    container disable {
710                      presence "Indicates a disable node is configured.";692                      presence "Indicates a disable node is configured.";
711                      description693                      description
712                        "Disable routing updates on an interface";694                        "Disable routing updates on an interface";
713                    }695                    }
714                  }696                  }
715                  container distribute-list {697                  container distribute-list {
716                    description698                    description
717                      "Filter prefixes to/from RIB";699                      "Filter prefixes to/from RIB";
718                    leaf prefix-list {700                    leaf prefix-list {
719                      type string {701                      type string {
720                        length "1..1024" {702                        length "1..1024" {
721                          description703                          description
722                            "Prefix-list name";704                            "Prefix-list name";
723                        }705                        }
724                      }706                      }
725                      description707                      description
726                        "Filter prefixes based on an IPv6 prefix-list";708                        "Filter prefixes based on an IPv6 prefix-list";
727                    }709                    }
728                  }710                  }
729                  leaf packet-size {711                  leaf packet-size {
730                    type uint32 {712                    type uint32 {
731                      range "256..10000" {713                      range "256..10000" {
732                        description714                        description
733                          "OSPFv3 packet size limit";715                          "OSPFv3 packet size limit";
734                      }716                      }
735                    }717                    }
736                    description718                    description
737                      "Limit size of OSPFv3 packets";719                      "Limit size of OSPFv3 packets";
738                  }720                  }
739                  container fast-reroute {721                  container fast-reroute {
740                    description722                    description
741                      "IP Fast Reroute";723                      "IP Fast Reroute";
742                    container per-link {724                    container per-link {
743                      description725                      description
744                        "Per-link Computation";726                        "Per-link Computation";
745                      container enable {727                      container enable {
746                        must "not(../../per-prefix/enable)";728                        must "not(../../per-prefix/enable)";
747                        presence "Indicates a per-link node is configured.";729                        presence "Indicates a per-link node is configured.";
748                        description730                        description
749                          "Enable per-link Computation";731                          "Enable per-link Computation";
750                      }732                      }
751                      container exclude {733                      container exclude {
752                        description734                        description
753                          "Per-link LFA exclusion information";735                          "Per-link LFA exclusion information";
754                        container interfaces {736                        container interfaces {
755                          description737                          description
756                            "Exclude an interface from Per-link LFA";738                            "Exclude an interface from Per-link LFA";
757                          list interface {739                          list interface {
758                            key "interface-name";740                            key "interface-name";
759                            description741                            description
760                              "Exclude an interface from Per-link LFA";742                              "Exclude an interface from Per-link LFA";
761                            leaf interface-name {743                            leaf interface-name {
762                              type xr:Interface-name;744                              type xr:Interface-name;
763                              description745                              description
764                                "Exclude an interface from Per-link LFA";746                                "Exclude an interface from Per-link LFA";
765                            }747                            }
766                          }748                          }
767                        }749                        }
768                      }750                      }
769                      container lfa-candidate {751                      container lfa-candidate {
770                        description752                        description
771                          "FRR LFA candidate information";753                          "FRR LFA candidate information";
772                        container interfaces {754                        container interfaces {
773                          description755                          description
774                            "Include an interface to LFA candidate in computation";756                            "Include an interface to LFA candidate in computation";
775                          list interface {757                          list interface {
776                            key "interface-name";758                            key "interface-name";
777                            description759                            description
778                              "Include an interface to LFA candidate in computation";760                              "Include an interface to LFA candidate in computation";
779                            leaf interface-name {761                            leaf interface-name {
780                              type xr:Interface-name;762                              type xr:Interface-name;
781                              description763                              description
782                                "Include an interface to LFA candidate in computation";764                                "Include an interface to LFA candidate in computation";
783                            }765                            }
784                          }766                          }
785                        }767                        }
786                      }768                      }
787                      container use-candidate-only {769                      container use-candidate-only {
788                        description770                        description
789                          "Enable/Disable backup selection from candidate-list only";771                          "Enable/Disable backup selection from candidate-list only";
790                        container enable {772                        container enable {
791                          must "not(../disable)";773                          must "not(../disable)";
792                          presence "Indicates a enable node is configured.";774                          presence "Indicates a enable node is configured.";
793                          description775                          description
794                            "Enable backup selection from candidate-list only";776                            "Enable backup selection from candidate-list only";
795                        }777                        }
796                        container disable {778                        container disable {
797                          must "not(../enable)";779                          must "not(../enable)";
798                          presence "Indicates a disable node is configured.";780                          presence "Indicates a disable node is configured.";
799                          description781                          description
800                            "Disable backup selection from candidate-list only";782                            "Disable backup selection from candidate-list only";
801                        }783                        }
802                      }784                      }
803                    }785                    }
804                    container per-prefix {786                    container per-prefix {
805                      description787                      description
806                        "Per-prefix Computation";788                        "Per-prefix Computation";
807                      container enable {789                      container enable {
808                        must "not(../../per-link/enable)";790                        must "not(../../per-link/enable)";
809                        presence "Indicates a per-prefix node is configured.";791                        presence "Indicates a per-prefix node is configured.";
810                        description792                        description
811                          "Enable per-prefix Computation";793                          "Enable per-prefix Computation";
812                      }794                      }
813                      container exclude {795                      container exclude {
814                        description796                        description
815                          "Per-prefix LFA exclusion information";797                          "Per-prefix LFA exclusion information";
816                        container interfaces {798                        container interfaces {
817                          description799                          description
818                            "Exclude an interface from Per-prefix LFA";800                            "Exclude an interface from Per-prefix LFA";
819                          list interface {801                          list interface {
820                            key "interface-name";802                            key "interface-name";
821                            description803                            description
822                              "Exclude an interface from Per-prefix LFA";804                              "Exclude an interface from Per-prefix LFA";
823                            leaf interface-name {805                            leaf interface-name {
824                              type xr:Interface-name;806                              type xr:Interface-name;
825                              description807                              description
826                                "Exclude an interface from Per-prefix LFA";808                                "Exclude an interface from Per-prefix LFA";
827                            }809                            }
828                          }810                          }
829                        }811                        }
830                      }812                      }
831                      container lfa-candidate {813                      container lfa-candidate {
832                        description814                        description
833                          "FRR LFA candidate information";815                          "FRR LFA candidate information";
834                        container interfaces {816                        container interfaces {
835                          description817                          description
836                            "Include an interface to LFA candidate in computation";818                            "Include an interface to LFA candidate in computation";
837                          list interface {819                          list interface {
838                            key "interface-name";820                            key "interface-name";
839                            description821                            description
840                              "Include an interface to LFA candidate in computation";822                              "Include an interface to LFA candidate in computation";
841                            leaf interface-name {823                            leaf interface-name {
842                              type xr:Interface-name;824                              type xr:Interface-name;
843                              description825                              description
844                                "Include an interface to LFA candidate in computation";826                                "Include an interface to LFA candidate in computation";
845                            }827                            }
846                          }828                          }
847                        }829                        }
848                      }830                      }
849                      container use-candidate-only {831                      container use-candidate-only {
850                        description832                        description
851                          "Enable/Disable backup selection from candidate-list only";833                          "Enable/Disable backup selection from candidate-list only";
852                        container enable {834                        container enable {
853                          must "not(../disable)";835                          must "not(../disable)";
854                          presence "Indicates a enable node is configured.";836                          presence "Indicates a enable node is configured.";
855                          description837                          description
856                            "Enable backup selection from candidate-list only";838                            "Enable backup selection from candidate-list only";
857                        }839                        }
858                        container disable {840                        container disable {
859                          must "not(../enable)";841                          must "not(../enable)";
860                          presence "Indicates a disable node is configured.";842                          presence "Indicates a disable node is configured.";
861                          description843                          description
862                            "Disable backup selection from candidate-list only";844                            "Disable backup selection from candidate-list only";
863                        }845                        }
864                      }846                      }
865                    }847                    }
866                    container disable {848                    container disable {
867                      presence "Indicates a disable node is configured.";849                      presence "Indicates a disable node is configured.";
868                      description850                      description
869                        "Disable IP Fast Reroute";851                        "Disable IP Fast Reroute";
870                    }852                    }
871                  }853                  }
872                  container mpls {854                  container mpls {
873                    description855                    description
874                      "Configure MPLS routing protocol parameters";856                      "Configure MPLS routing protocol parameters";
875                    container ldp {857                    container ldp {
876                      description858                      description
877                        "Configure LDP parameters";859                        "Configure LDP parameters";
878                      container sync {860                      container sync {
879                        presence "Indicates a sync node is configured.";861                        presence "Indicates a sync node is configured.";
880                        description862                        description
881                          "Enable LDP IGP synchronization on interfaces";863                          "Enable LDP IGP synchronization on interfaces";
882                        container disable {864                        container disable {
883                          presence "Indicates a disable node is configured.";865                          presence "Indicates a disable node is configured.";
884                          description866                          description
885                            "Disable MPLS LDP sync";867                            "Disable MPLS LDP sync";
886                        }868                        }
887                      }869                      }
888                    }870                    }
889                  }871                  }
890                  container prefix-suppression {872                  container prefix-suppression {
891                    presence "Indicates a prefix-suppression node is configured.";873                    presence "Indicates a prefix-suppression node is configured.";
892                    description874                    description
893                      "Hide all transit addresses on this interface";875                      "Hide all transit addresses on this interface";
894                    container disable {876                    container disable {
895                      presence "Indicates a disable node is configured.";877                      presence "Indicates a disable node is configured.";
896                      description878                      description
897                        "Disable prefix suppression on this interface";879                        "Disable prefix suppression on this interface";
898                    }880                    }
899                  }881                  }
900                  container bfd {882                  container bfd {
901                    description883                    description
902                      "Configure BFD parameters";884                      "Configure BFD parameters";
903                    container fast-detect {885                    container fast-detect {
904                      presence "Indicates a fast-detect node is configured.";886                      presence "Indicates a fast-detect node is configured.";
905                      description887                      description
906                        "Enable Fast detection";888                        "Enable Fast detection";
907                      container strict-mode {889                      container strict-mode {
908                        presence "Indicates a strict-mode node is configured.";890                        presence "Indicates a strict-mode node is configured.";
909                        description891                        description
910                          "Hold down neighbor session until BFD session is up";892                          "Hold down neighbor session until BFD session is up";
911                      }893                      }
912                      container disable {894                      container disable {
913                        presence "Indicates a disable node is configured.";895                        presence "Indicates a disable node is configured.";
914                        description896                        description
915                          "Prevent bfd settings from being inherited from the parent";897                          "Prevent bfd settings from being inherited from the parent";
916                      }898                      }
917                    }899                    }
918                    leaf minimum-interval {900                    leaf minimum-interval {
919                      type uint32 {901                      type uint32 {
920                        range "3..30000" {902                        range "3..30000" {
921                          description903                          description
922                            "minimum interval in milli-seconds";904                            "minimum interval in milli-seconds";
923                        }905                        }
924                      }906                      }
925                      description907                      description
926                        "Minimum interval";908                        "Minimum interval";
927                    }909                    }
928                    leaf multiplier {910                    leaf multiplier {
929                      type uint32 {911                      type uint32 {
930                        range "2..50" {912                        range "2..50" {
931                          description913                          description
932                            "Detect multiplier";914                            "Detect multiplier";
933                        }915                        }
934                      }916                      }
935                      description917                      description
936                        "Detect multiplier";918                        "Detect multiplier";
937                    }919                    }
938                  }920                  }
939                  container advertise {921                  container advertise {
940                    description922                    description
941                      "Conditionally advertise";923                      "Conditionally advertise";
942                    container prefix {924                    container prefix {
943                      description925                      description
944                        "Conditionally advertise this prefix";926                        "Conditionally advertise this prefix";
945                      leaf route-policy {927                      leaf route-policy {
946                        type xr:Route-policy-name;928                        type xr:Route-policy-name;
947                        description929                        description
948                          "Specify the route-policy for conditional advertising";930                          "Specify the route-policy for conditional advertising";
949                      }931                      }
950                    }932                    }
951                  }933                  }
952                  container neighbors {934                  container neighbors {
953                    description935                    description
954                      "Specify a neighbor router";936                      "Specify a neighbor router";
955                    list neighbor {937                    list neighbor {
956                      key "neighbor-address";938                      key "neighbor-address";
957                      description939                      description
958                        "Specify a neighbor router";940                        "Specify a neighbor router";
959                      leaf neighbor-address {941                      leaf neighbor-address {
960                        type inet:ipv6-address-no-zone;942                        type inet:ipv6-address-no-zone;
961                        description943                        description
962                          "Specify a neighbor router";944                          "Specify a neighbor router";
963                      }945                      }
964                      leaf zone {946                      leaf zone {
965                        type string;947                        type string;
966                        default "0";948                        default "0";
967                        description949                        description
968                          "IPv6 address zone";950                          "IPv6 address zone";
969                      }951                      }
970                      leaf priority {952                      leaf priority {
971                        type uint32 {953                        type uint32 {
972                          range "0..255" {954                          range "0..255" {
973                            description955                            description
974                              "Priority";956                              "Priority";
975                          }957                          }
976                        }958                        }
977                        description959                        description
978                          "OSPFv3 priority of non-broadcast neighbor";960                          "OSPFv3 priority of non-broadcast neighbor";
979                      }961                      }
980                      leaf poll-interval {962                      leaf poll-interval {
981                        type uint32 {963                        type uint32 {
982                          range "0..65535" {964                          range "0..65535" {
983                            description965                            description
984                              "Seconds";966                              "Seconds";
985                          }967                          }
986                        }968                        }
987                        description969                        description
988                          "OSPFv3 dead-router polling interval";970                          "OSPFv3 dead-router polling interval";
989                      }971                      }
990                      leaf cost {972                      leaf cost {
991                        type uint32 {973                        type uint32 {
992                          range "1..65535" {974                          range "1..65535" {
993                            description975                            description
994                              "Metric";976                              "Metric";
995                          }977                          }
996                        }978                        }
997                        description979                        description
998                          "OSPFv3 cost for point-to-multipoint neighbor";980                          "OSPFv3 cost for point-to-multipoint neighbor";
999                      }981                      }
1000                      container database-filter {982                      container database-filter {
1001                        description983                        description
1002                          "Filter OSPFv3 LSA during synchronization and flooding for point-to-multipoint neighbor";984                          "Filter OSPFv3 LSA during synchronization and flooding for point-to-multipoint neighbor";
1003                        container all {985                        container all {
1004                          description986                          description
1005                            "Filter all LSA";987                            "Filter all LSA";
1006                          container out {988                          container out {
1007                            presence "Indicates a out node is configured.";989                            presence "Indicates a out node is configured.";
1008                            description990                            description
1009                              "Outgoing LSA";991                              "Outgoing LSA";
1010                          }992                          }
1011                        }993                        }
1012                      }994                      }
1013                    }995                    }
1014                  }996                  }
1015                }997                }
1016              }998              }
1017              container authentication {999              container authentication {
1018                must "disable or ipsec/spi";1000                must "disable or ipsec/spi";
1019                presence "Indicates a authentication node is configured.";1001                presence "Indicates a authentication node is configured.";
1020                description1002                description
1021                  "Authenticate OSPFv3 packets";1003                  "Authenticate OSPFv3 packets";
1022                container disable {1004                container disable {
1023                  must "not(../ipsec/spi)";1005                  must "not(../ipsec/spi)";
1024                  presence "Indicates a disable node is configured.";1006                  presence "Indicates a disable node is configured.";
1025                  description1007                  description
1026                    "Do not authenticate OSPFv3 packets";1008                    "Do not authenticate OSPFv3 packets";
1027                }1009                }
1028                container ipsec {1010                container ipsec {
1029                  description1011                  description
1030                    "Use IPSec AH authentication";1012                    "Use IPSec AH authentication";
1031                  container spi {1013                  container spi {
1032                    must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";1014                    must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
1033                    presence "Indicates a spi node is configured.";1015                    presence "Indicates a spi node is configured.";
1034                    description1016                    description
1035                      "Specify the Security Parameter Index value";1017                      "Specify the Security Parameter Index value";
1036                    leaf spi-index {1018                    leaf spi-index {
1037                      type uint32 {1019                      type uint32 {
1038                        range "256..4294967295" {1020                        range "256..4294967295" {
1039                          description1021                          description
1040                            "Security Parameter Index value";1022                            "Security Parameter Index value";
1041                        }1023                        }
1042                      }1024                      }
1043                      mandatory true;1025                      mandatory true;
1044                      description1026                      description
1045                        "Specify the Security Parameter Index value";1027                        "Specify the Security Parameter Index value";
1046                    }1028                    }
1047                    container md5 {1029                    container md5 {
1048                      description1030                      description
1049                        "Use the MD5 algorithim";1031                        "Use the MD5 algorithim";
1050                      container password {1032                      container password {
1051                        description1033                        description
1052                          "Enter MD5 key in encrypted form";1034                          "Enter MD5 key in encrypted form";
1053                        leaf encrypted {1035                        leaf encrypted {
1054                          type xr:Proprietary-password;1036                          type xr:Proprietary-password;
1055                          description1037                          description
1056                            "Encrypted key";1038                            "Encrypted key";
1057                        }1039                        }
1058                      }1040                      }
1059                    }1041                    }
1060                    container sha1 {1042                    container sha1 {
1061                      description1043                      description
1062                        "Use the SHA1 algorithim";1044                        "Use the SHA1 algorithim";
1063                      container password {1045                      container password {
1064                        description1046                        description
1065                          "Enter SHA1 key in encrypted form";1047                          "Enter SHA1 key in encrypted form";
1066                        leaf encrypted {1048                        leaf encrypted {
1067                          type xr:Proprietary-password;1049                          type xr:Proprietary-password;
1068                          description1050                          description
1069                            "Encrypted key";1051                            "Encrypted key";
1070                        }1052                        }
1071                      }1053                      }
1072                    }1054                    }
1073                  }1055                  }
1074                }1056                }
1075              }1057              }
1076              container encryption {1058              container encryption {
1077                must "disable or ipsec/spi";1059                must "disable or ipsec/spi";
1078                presence "Indicates a encryption node is configured.";1060                presence "Indicates a encryption node is configured.";
1079                description1061                description
1080                  "Encrypt and authenticate OSPFv3 packets";1062                  "Encrypt and authenticate OSPFv3 packets";
1081                container disable {1063                container disable {
1082                  must "not(../ipsec/spi)";1064                  must "not(../ipsec/spi)";
1083                  presence "Indicates a disable node is configured.";1065                  presence "Indicates a disable node is configured.";
1084                  description1066                  description
1085                    "Do not encrypt OSPFv3 packets";1067                    "Do not encrypt OSPFv3 packets";
1086                }1068                }
1087                container ipsec {1069                container ipsec {
1088                  description1070                  description
1089                    "Use IPSec ESP encryption and authentication";1071                    "Use IPSec ESP encryption and authentication";
1090                  container spi {1072                  container spi {
1091                    must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";1073                    must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
1092                    presence "Indicates a spi node is configured.";1074                    presence "Indicates a spi node is configured.";
1093                    description1075                    description
1094                      "Specify the Security Parameter Index value";1076                      "Specify the Security Parameter Index value";
1095                    leaf spi-index {1077                    leaf spi-index {
1096                      type uint32 {1078                      type uint32 {
1097                        range "256..4294967295" {1079                        range "256..4294967295" {
1098                          description1080                          description
1099                            "Security Parameter Index value";1081                            "Security Parameter Index value";
1100                        }1082                        }
1101                      }1083                      }
1102                      mandatory true;1084                      mandatory true;
1103                      description1085                      description
1104                        "Specify the Security Parameter Index value";1086                        "Specify the Security Parameter Index value";
1105                    }1087                    }
1106                    container esp {1088                    container esp {
1107                      description1089                      description
1108                        "Specify encryption parameters";1090                        "Specify encryption parameters";
1109                      container null {1091                      container null {
1110                        must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";1092                        must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
1111                        presence "Indicates a null node is configured.";1093                        presence "Indicates a null node is configured.";
1112                        description1094                        description
1113                          "Use NULL encryption";1095                          "Use NULL encryption";
1114                      }1096                      }
1115                      container des {1097                      container des {
1116                        description1098                        description
1117                          "Use the DES algorithim. Encrypted DES key (34 hex digits)";1099                          "Use the DES algorithim. Encrypted DES key (34 hex digits)";
1118                        container password {1100                        container password {
1119                          description1101                          description
1120                            "Enter DES key in encrypted form";1102                            "Enter DES key in encrypted form";
1121                          leaf encrypted {1103                          leaf encrypted {
1122                            type xr:Proprietary-password;1104                            type xr:Proprietary-password;
1123                            must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";1105                            must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n1124                            descriptionn
1125                              "Encrypted key";
1126                          }1106                          }
1127                        }1107                        }
1128                      }1108                      }
1129                      container triple-des {1109                      container triple-des {
1130                        description1110                        description
1131                          "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";1111                          "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
1132                        container password {1112                        container password {
1133                          description1113                          description
1134                            "Enter 3DES key in encrypted form";1114                            "Enter 3DES key in encrypted form";
1135                          leaf encrypted {1115                          leaf encrypted {
1136                            type xr:Proprietary-password;1116                            type xr:Proprietary-password;
1137                            must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";1117                            must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n1138                            descriptionn
1139                              "Encrypted key";
1140                          }1118                          }
1141                        }1119                        }
1142                      }1120                      }
1143                      container aes {1121                      container aes {
1144                        description1122                        description
1145                          "Use the AES algorithim. Encrypted AES key (32 hex digits)";1123                          "Use the AES algorithim. Encrypted AES key (32 hex digits)";
1146                        container password {1124                        container password {
1147                          description1125                          description
1148                            "Enter AES key in encrypted form";1126                            "Enter AES key in encrypted form";
1149                          leaf encrypted {1127                          leaf encrypted {
1150                            type xr:Proprietary-password;1128                            type xr:Proprietary-password;
1151                            must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";1129                            must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n1152                            descriptionn
1153                              "Encrypted key";
1154                          }1130                          }
1155                        }1131                        }
1156                        container aes-192 {1132                        container aes-192 {
1157                          description1133                          description
1158                            "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";1134                            "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
1159                          container password {1135                          container password {
1160                            description1136                            description
1161                              "Enter AES-192 key in encrypted form";1137                              "Enter AES-192 key in encrypted form";
1162                            leaf encrypted {1138                            leaf encrypted {
1163                              type xr:Proprietary-password;1139                              type xr:Proprietary-password;
1164                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";1140                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n1165                              descriptionn
1166                                "Encrypted key";
1167                            }1141                            }
1168                          }1142                          }
1169                        }1143                        }
1170                        container aes-256 {1144                        container aes-256 {
1171                          description1145                          description
1172                            "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";1146                            "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
1173                          container password {1147                          container password {
1174                            description1148                            description
1175                              "Enter AES-256 key in encrypted form";1149                              "Enter AES-256 key in encrypted form";
1176                            leaf encrypted {1150                            leaf encrypted {
1177                              type xr:Proprietary-password;1151                              type xr:Proprietary-password;
1178                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";1152                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n1179                              descriptionn
1180                                "Encrypted key";
1181                            }1153                            }
1182                          }1154                          }
1183                        }1155                        }
1184                      }1156                      }
1185                      container authentication {1157                      container authentication {
1186                        must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";1158                        must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
1187                        presence "Indicates a authentication node is configured.";1159                        presence "Indicates a authentication node is configured.";
1188                        description1160                        description
1189                          "Specify authentication parameters";1161                          "Specify authentication parameters";
1190                        container md5 {1162                        container md5 {
1191                          description1163                          description
1192                            "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";1164                            "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
1193                          container password {1165                          container password {
1194                            description1166                            description
1195                              "Enter MD5 key in encrypted form";1167                              "Enter MD5 key in encrypted form";
1196                            leaf encrypted {1168                            leaf encrypted {
1197                              type xr:Proprietary-password;1169                              type xr:Proprietary-password;
1198                              description1170                              description
1199                                "Enter key in encrypted form";1171                                "Enter key in encrypted form";
1200                            }1172                            }
1201                          }1173                          }
1202                        }1174                        }
1203                        container sha1 {1175                        container sha1 {
1204                          description1176                          description
1205                            "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";1177                            "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
1206                          container password {1178                          container password {
1207                            description1179                            description
1208                              "Enter SHA1 key in encrypted form";1180                              "Enter SHA1 key in encrypted form";
1209                            leaf encrypted {1181                            leaf encrypted {
1210                              type xr:Proprietary-password;1182                              type xr:Proprietary-password;
1211                              description1183                              description
1212                                "Enter key in encrypted form";1184                                "Enter key in encrypted form";
1213                            }1185                            }
1214                          }1186                          }
1215                        }1187                        }
1216                        container null {1188                        container null {
1217                          must "not(../../null)";1189                          must "not(../../null)";
1218                          presence "Indicates a null node is configured.";1190                          presence "Indicates a null node is configured.";
1219                          description1191                          description
1220                            "Use NULL authentication";1192                            "Use NULL authentication";
1221                        }1193                        }
1222                      }1194                      }
1223                    }1195                    }
1224                  }1196                  }
1225                }1197                }
1226              }1198              }
1227              container network {1199              container network {
1228                description1200                description
1229                  "Network type";1201                  "Network type";
1230                container broadcast {1202                container broadcast {
1231                  presence "Indicates a broadcast node is configured.";1203                  presence "Indicates a broadcast node is configured.";
1232                  description1204                  description
1233                    "Specify OSPFv3 broadcast multi-access network";1205                    "Specify OSPFv3 broadcast multi-access network";
1234                }1206                }
1235                container non-broadcast {1207                container non-broadcast {
1236                  presence "Indicates a non-broadcast node is configured.";1208                  presence "Indicates a non-broadcast node is configured.";
1237                  description1209                  description
1238                    "Specify OSPFv3 NBMA network";1210                    "Specify OSPFv3 NBMA network";
1239                }1211                }
1240                container point-to-point {1212                container point-to-point {
1241                  presence "Indicates a point-to-point node is configured.";1213                  presence "Indicates a point-to-point node is configured.";
1242                  description1214                  description
1243                    "Specify OSPFv3 point-to-point network";1215                    "Specify OSPFv3 point-to-point network";
1244                }1216                }
1245                container point-to-multipoint {1217                container point-to-multipoint {
1246                  presence "Indicates a point-to-multipoint node is configured.";1218                  presence "Indicates a point-to-multipoint node is configured.";
1247                  description1219                  description
1248                    "Specify OSPFv3 point-to-multipoint network";1220                    "Specify OSPFv3 point-to-multipoint network";
1249                }1221                }
1250              }1222              }
1251              leaf cost {1223              leaf cost {
1252                type uint32 {1224                type uint32 {
1253                  range "1..65535" {1225                  range "1..65535" {
1254                    description1226                    description
1255                      "Cost";1227                      "Cost";
1256                  }1228                  }
1257                }1229                }
1258                description1230                description
1259                  "Interface cost";1231                  "Interface cost";
1260              }1232              }
1261              leaf hello-interval {1233              leaf hello-interval {
1262                type uint32 {1234                type uint32 {
1263                  range "1..65535" {1235                  range "1..65535" {
1264                    description1236                    description
1265                      "Seconds";1237                      "Seconds";
1266                  }1238                  }
1267                }1239                }
1268                description1240                description
1269                  "Time between HELLO packets";1241                  "Time between HELLO packets";
1270              }1242              }
1271              leaf dead-interval {1243              leaf dead-interval {
1272                type uint32 {1244                type uint32 {
1273                  range "1..65535" {1245                  range "1..65535" {
1274                    description1246                    description
1275                      "Seconds";1247                      "Seconds";
1276                  }1248                  }
1277                }1249                }
1278                description1250                description
1279                  "Interval after which a neighbor is declared dead";1251                  "Interval after which a neighbor is declared dead";
1280              }1252              }
1281              leaf priority {1253              leaf priority {
1282                type uint32 {1254                type uint32 {
1283                  range "0..255" {1255                  range "0..255" {
1284                    description1256                    description
1285                      "Priority";1257                      "Priority";
1286                  }1258                  }
1287                }1259                }
1288                description1260                description
1289                  "Router priority";1261                  "Router priority";
1290              }1262              }
1291              leaf retransmit-interval {1263              leaf retransmit-interval {
1292                type uint32 {1264                type uint32 {
1293                  range "1..65535" {1265                  range "1..65535" {
1294                    description1266                    description
1295                      "Seconds";1267                      "Seconds";
1296                  }1268                  }
1297                }1269                }
1298                description1270                description
1299                  "Delay between LSA retransmissions";1271                  "Delay between LSA retransmissions";
1300              }1272              }
1301              leaf transmit-delay {1273              leaf transmit-delay {
1302                type uint32 {1274                type uint32 {
1303                  range "1..65535" {1275                  range "1..65535" {
1304                    description1276                    description
1305                      "Seconds";1277                      "Seconds";
1306                  }1278                  }
1307                }1279                }
1308                description1280                description
1309                  "Link state transmit delay";1281                  "Link state transmit delay";
1310              }1282              }
1311              container flood-reduction {1283              container flood-reduction {
1312                presence "Indicates a flood-reduction node is configured.";1284                presence "Indicates a flood-reduction node is configured.";
1313                description1285                description
1314                  "Enable/Disable flood reduction";1286                  "Enable/Disable flood reduction";
1315                container disable {1287                container disable {
1316                  presence "Indicates a disable node is configured.";1288                  presence "Indicates a disable node is configured.";
1317                  description1289                  description
1318                    "Disable flood reduction";1290                    "Disable flood reduction";
1319                }1291                }
1320              }1292              }
1321              container demand-circuit {1293              container demand-circuit {
1322                presence "Indicates a demand-circuit node is configured.";1294                presence "Indicates a demand-circuit node is configured.";
1323                description1295                description
1324                  "Enable/Disable demand circuit operation";1296                  "Enable/Disable demand circuit operation";
1325                container disable {1297                container disable {
1326                  presence "Indicates a disable node is configured.";1298                  presence "Indicates a disable node is configured.";
1327                  description1299                  description
1328                    "Disable demand circuit operation";1300                    "Disable demand circuit operation";
1329                }1301                }
1330              }1302              }
1331              container mtu-ignore {1303              container mtu-ignore {
1332                presence "Indicates a mtu-ignore node is configured.";1304                presence "Indicates a mtu-ignore node is configured.";
1333                description1305                description
1334                  "Enable/Disable ignoring of MTU in DBD packets";1306                  "Enable/Disable ignoring of MTU in DBD packets";
1335                container disable {1307                container disable {
1336                  presence "Indicates a disable node is configured.";1308                  presence "Indicates a disable node is configured.";
1337                  description1309                  description
1338                    "Validate the MTU in DBD packets";1310                    "Validate the MTU in DBD packets";
1339                }1311                }
1340              }1312              }
1341              leaf instance {1313              leaf instance {
1342                type uint32 {1314                type uint32 {
1343                  range "0..255" {1315                  range "0..255" {
1344                    description1316                    description
1345                      "Instance ID";1317                      "Instance ID";
1346                  }1318                  }
1347                }1319                }
1348                description1320                description
1349                  "Instance ID";1321                  "Instance ID";
1350              }1322              }
1351              container database-filter {1323              container database-filter {
1352                description1324                description
1353                  "Filter LSAs during synchronization and flooding";1325                  "Filter LSAs during synchronization and flooding";
1354                container all {1326                container all {
1355                  description1327                  description
1356                    "Filter all LSA";1328                    "Filter all LSA";
1357                  container out {1329                  container out {
1358                    presence "Indicates a out node is configured.";1330                    presence "Indicates a out node is configured.";
1359                    description1331                    description
1360                      "Outgoing LSA";1332                      "Outgoing LSA";
1361                    container disable {1333                    container disable {
1362                      presence "Indicates a disable node is configured.";1334                      presence "Indicates a disable node is configured.";
1363                      description1335                      description
1364                        "Disable filtering";1336                        "Disable filtering";
1365                    }1337                    }
1366                  }1338                  }
1367                }1339                }
1368              }1340              }
1369              container passive {1341              container passive {
1370                presence "Indicates a passive node is configured.";1342                presence "Indicates a passive node is configured.";
1371                description1343                description
1372                  "Enable/Disable routing updates on an interface";1344                  "Enable/Disable routing updates on an interface";
1373                container disable {1345                container disable {
1374                  presence "Indicates a disable node is configured.";1346                  presence "Indicates a disable node is configured.";
1375                  description1347                  description
1376                    "Disable routing updates on an interface";1348                    "Disable routing updates on an interface";
1377                }1349                }
1378              }1350              }
1379              container distribute-list {1351              container distribute-list {
1380                description1352                description
1381                  "Filter prefixes to/from RIB";1353                  "Filter prefixes to/from RIB";
1382                leaf prefix-list {1354                leaf prefix-list {
1383                  type string {1355                  type string {
1384                    length "1..1024" {1356                    length "1..1024" {
1385                      description1357                      description
1386                        "Prefix-list name";1358                        "Prefix-list name";
1387                    }1359                    }
1388                  }1360                  }
1389                  description1361                  description
1390                    "Filter prefixes based on an IPv6 prefix-list";1362                    "Filter prefixes based on an IPv6 prefix-list";
1391                }1363                }
1392              }1364              }
1393              leaf packet-size {1365              leaf packet-size {
1394                type uint32 {1366                type uint32 {
1395                  range "256..10000" {1367                  range "256..10000" {
1396                    description1368                    description
1397                      "OSPFv3 packet size limit";1369                      "OSPFv3 packet size limit";
1398                  }1370                  }
1399                }1371                }
1400                description1372                description
1401                  "Limit size of OSPFv3 packets";1373                  "Limit size of OSPFv3 packets";
1402              }1374              }
1403              container fast-reroute {1375              container fast-reroute {
1404                description1376                description
1405                  "IP Fast Reroute";1377                  "IP Fast Reroute";
1406                container per-link {1378                container per-link {
1407                  description1379                  description
1408                    "Per-link Computation";1380                    "Per-link Computation";
1409                  container enable {1381                  container enable {
1410                    must "not(../../per-prefix/enable)";1382                    must "not(../../per-prefix/enable)";
1411                    presence "Indicates a per-link node is configured.";1383                    presence "Indicates a per-link node is configured.";
1412                    description1384                    description
1413                      "Enable per-link Computation";1385                      "Enable per-link Computation";
1414                  }1386                  }
1415                  container exclude {1387                  container exclude {
1416                    description1388                    description
1417                      "Per-link LFA exclusion information";1389                      "Per-link LFA exclusion information";
1418                    container interfaces {1390                    container interfaces {
1419                      description1391                      description
1420                        "Exclude an interface from Per-link LFA";1392                        "Exclude an interface from Per-link LFA";
1421                      list interface {1393                      list interface {
1422                        key "interface-name";1394                        key "interface-name";
1423                        description1395                        description
1424                          "Exclude an interface from Per-link LFA";1396                          "Exclude an interface from Per-link LFA";
1425                        leaf interface-name {1397                        leaf interface-name {
1426                          type xr:Interface-name;1398                          type xr:Interface-name;
1427                          description1399                          description
1428                            "Exclude an interface from Per-link LFA";1400                            "Exclude an interface from Per-link LFA";
1429                        }1401                        }
1430                      }1402                      }
1431                    }1403                    }
1432                  }1404                  }
1433                  container lfa-candidate {1405                  container lfa-candidate {
1434                    description1406                    description
1435                      "FRR LFA candidate information";1407                      "FRR LFA candidate information";
1436                    container interfaces {1408                    container interfaces {
1437                      description1409                      description
1438                        "Include an interface to LFA candidate in computation";1410                        "Include an interface to LFA candidate in computation";
1439                      list interface {1411                      list interface {
1440                        key "interface-name";1412                        key "interface-name";
1441                        description1413                        description
1442                          "Include an interface to LFA candidate in computation";1414                          "Include an interface to LFA candidate in computation";
1443                        leaf interface-name {1415                        leaf interface-name {
1444                          type xr:Interface-name;1416                          type xr:Interface-name;
1445                          description1417                          description
1446                            "Include an interface to LFA candidate in computation";1418                            "Include an interface to LFA candidate in computation";
1447                        }1419                        }
1448                      }1420                      }
1449                    }1421                    }
1450                  }1422                  }
1451                  container use-candidate-only {1423                  container use-candidate-only {
1452                    description1424                    description
1453                      "Enable/Disable backup selection from candidate-list only";1425                      "Enable/Disable backup selection from candidate-list only";
1454                    container enable {1426                    container enable {
1455                      must "not(../disable)";1427                      must "not(../disable)";
1456                      presence "Indicates a enable node is configured.";1428                      presence "Indicates a enable node is configured.";
1457                      description1429                      description
1458                        "Enable backup selection from candidate-list only";1430                        "Enable backup selection from candidate-list only";
1459                    }1431                    }
1460                    container disable {1432                    container disable {
1461                      must "not(../enable)";1433                      must "not(../enable)";
1462                      presence "Indicates a disable node is configured.";1434                      presence "Indicates a disable node is configured.";
1463                      description1435                      description
1464                        "Disable backup selection from candidate-list only";1436                        "Disable backup selection from candidate-list only";
1465                    }1437                    }
1466                  }1438                  }
1467                }1439                }
1468                container per-prefix {1440                container per-prefix {
1469                  description1441                  description
1470                    "Per-prefix Computation";1442                    "Per-prefix Computation";
1471                  container enable {1443                  container enable {
1472                    must "not(../../per-link/enable)";1444                    must "not(../../per-link/enable)";
1473                    presence "Indicates a per-prefix node is configured.";1445                    presence "Indicates a per-prefix node is configured.";
1474                    description1446                    description
1475                      "Enable per-prefix Computation";1447                      "Enable per-prefix Computation";
1476                  }1448                  }
1477                  container exclude {1449                  container exclude {
1478                    description1450                    description
1479                      "Per-prefix LFA exclusion information";1451                      "Per-prefix LFA exclusion information";
1480                    container interfaces {1452                    container interfaces {
1481                      description1453                      description
1482                        "Exclude an interface from Per-prefix LFA";1454                        "Exclude an interface from Per-prefix LFA";
1483                      list interface {1455                      list interface {
1484                        key "interface-name";1456                        key "interface-name";
1485                        description1457                        description
1486                          "Exclude an interface from Per-prefix LFA";1458                          "Exclude an interface from Per-prefix LFA";
1487                        leaf interface-name {1459                        leaf interface-name {
1488                          type xr:Interface-name;1460                          type xr:Interface-name;
1489                          description1461                          description
1490                            "Exclude an interface from Per-prefix LFA";1462                            "Exclude an interface from Per-prefix LFA";
1491                        }1463                        }
1492                      }1464                      }
1493                    }1465                    }
1494                  }1466                  }
1495                  container lfa-candidate {1467                  container lfa-candidate {
1496                    description1468                    description
1497                      "FRR LFA candidate information";1469                      "FRR LFA candidate information";
1498                    container interfaces {1470                    container interfaces {
1499                      description1471                      description
1500                        "Include an interface to LFA candidate in computation";1472                        "Include an interface to LFA candidate in computation";
1501                      list interface {1473                      list interface {
1502                        key "interface-name";1474                        key "interface-name";
1503                        description1475                        description
1504                          "Include an interface to LFA candidate in computation";1476                          "Include an interface to LFA candidate in computation";
1505                        leaf interface-name {1477                        leaf interface-name {
1506                          type xr:Interface-name;1478                          type xr:Interface-name;
1507                          description1479                          description
1508                            "Include an interface to LFA candidate in computation";1480                            "Include an interface to LFA candidate in computation";
1509                        }1481                        }
1510                      }1482                      }
1511                    }1483                    }
1512                  }1484                  }
1513                  container use-candidate-only {1485                  container use-candidate-only {
1514                    description1486                    description
1515                      "Enable/Disable backup selection from candidate-list only";1487                      "Enable/Disable backup selection from candidate-list only";
1516                    container enable {1488                    container enable {
1517                      must "not(../disable)";1489                      must "not(../disable)";
1518                      presence "Indicates a enable node is configured.";1490                      presence "Indicates a enable node is configured.";
1519                      description1491                      description
1520                        "Enable backup selection from candidate-list only";1492                        "Enable backup selection from candidate-list only";
1521                    }1493                    }
1522                    container disable {1494                    container disable {
1523                      must "not(../enable)";1495                      must "not(../enable)";
1524                      presence "Indicates a disable node is configured.";1496                      presence "Indicates a disable node is configured.";
1525                      description1497                      description
1526                        "Disable backup selection from candidate-list only";1498                        "Disable backup selection from candidate-list only";
1527                    }1499                    }
1528                  }1500                  }
1529                }1501                }
1530                container disable {1502                container disable {
1531                  presence "Indicates a disable node is configured.";1503                  presence "Indicates a disable node is configured.";
1532                  description1504                  description
1533                    "Disable IP Fast Reroute";1505                    "Disable IP Fast Reroute";
1534                }1506                }
1535              }1507              }
1536              container prefix-suppression {1508              container prefix-suppression {
1537                presence "Indicates a prefix-suppression node is configured.";1509                presence "Indicates a prefix-suppression node is configured.";
1538                description1510                description
1539                  "Hide all transit addresses on this interface";1511                  "Hide all transit addresses on this interface";
1540                container disable {1512                container disable {
1541                  presence "Indicates a disable node is configured.";1513                  presence "Indicates a disable node is configured.";
1542                  description1514                  description
1543                    "Disable prefix suppression on this interface";1515                    "Disable prefix suppression on this interface";
1544                }1516                }
1545              }1517              }
1546              container bfd {1518              container bfd {
1547                description1519                description
1548                  "Configure BFD parameters";1520                  "Configure BFD parameters";
1549                container fast-detect {1521                container fast-detect {
1550                  presence "Indicates a fast-detect node is configured.";1522                  presence "Indicates a fast-detect node is configured.";
1551                  description1523                  description
1552                    "Enable Fast detection";1524                    "Enable Fast detection";
1553                  container strict-mode {1525                  container strict-mode {
1554                    presence "Indicates a strict-mode node is configured.";1526                    presence "Indicates a strict-mode node is configured.";
1555                    description1527                    description
1556                      "Hold down neighbor session until BFD session is up";1528                      "Hold down neighbor session until BFD session is up";
1557                  }1529                  }
1558                  container disable {1530                  container disable {
1559                    presence "Indicates a disable node is configured.";1531                    presence "Indicates a disable node is configured.";
1560                    description1532                    description
1561                      "Prevent bfd settings from being inherited from the parent";1533                      "Prevent bfd settings from being inherited from the parent";
1562                  }1534                  }
1563                }1535                }
1564                leaf minimum-interval {1536                leaf minimum-interval {
1565                  type uint32 {1537                  type uint32 {
1566                    range "3..30000" {1538                    range "3..30000" {
1567                      description1539                      description
1568                        "minimum interval in milli-seconds";1540                        "minimum interval in milli-seconds";
1569                    }1541                    }
1570                  }1542                  }
1571                  description1543                  description
1572                    "Minimum interval";1544                    "Minimum interval";
1573                }1545                }
1574                leaf multiplier {1546                leaf multiplier {
1575                  type uint32 {1547                  type uint32 {
1576                    range "2..50" {1548                    range "2..50" {
1577                      description1549                      description
1578                        "Detect multiplier";1550                        "Detect multiplier";
1579                    }1551                    }
1580                  }1552                  }
1581                  description1553                  description
1582                    "Detect multiplier";1554                    "Detect multiplier";
1583                }1555                }
1584              }1556              }
1585              container mpls {1557              container mpls {
1586                description1558                description
1587                  "Configure MPLS routing protocol parameters";1559                  "Configure MPLS routing protocol parameters";
1588                container ldp {1560                container ldp {
1589                  description1561                  description
1590                    "Configure LDP parameters";1562                    "Configure LDP parameters";
1591                  container sync {1563                  container sync {
1592                    presence "Indicates a sync node is configured.";1564                    presence "Indicates a sync node is configured.";
1593                    description1565                    description
1594                      "Enable LDP IGP synchronization";1566                      "Enable LDP IGP synchronization";
1595                    container disable {1567                    container disable {
1596                      presence "Indicates a disable node is configured.";1568                      presence "Indicates a disable node is configured.";
1597                      description1569                      description
1598                        "Disable MPLS LDP sync";1570                        "Disable MPLS LDP sync";
1599                    }1571                    }
1600                  }1572                  }
1601                }1573                }
1602              }1574              }
1603              container virtual-links {1575              container virtual-links {
1604                description1576                description
1605                  "Define a virtual link";1577                  "Define a virtual link";
1606                list virtual-link {1578                list virtual-link {
1607                  key "virtual-link-address";1579                  key "virtual-link-address";
1608                  description1580                  description
1609                    "Define a virtual link";1581                    "Define a virtual link";
1610                  leaf virtual-link-address {1582                  leaf virtual-link-address {
1611                    type inet:ipv4-address-no-zone;1583                    type inet:ipv4-address-no-zone;
1612                    description1584                    description
1613                      "Define a virtual link";1585                      "Define a virtual link";
1614                  }1586                  }
1615                  container authentication {1587                  container authentication {
1616                    must "disable or ipsec/spi";1588                    must "disable or ipsec/spi";
1617                    presence "Indicates a authentication node is configured.";1589                    presence "Indicates a authentication node is configured.";
1618                    description1590                    description
1619                      "Authenticate OSPFv3 packets";1591                      "Authenticate OSPFv3 packets";
1620                    container disable {1592                    container disable {
1621                      must "not(../ipsec/spi)";1593                      must "not(../ipsec/spi)";
1622                      presence "Indicates a disable node is configured.";1594                      presence "Indicates a disable node is configured.";
1623                      description1595                      description
1624                        "Do not authenticate OSPFv3 packets";1596                        "Do not authenticate OSPFv3 packets";
1625                    }1597                    }
1626                    container ipsec {1598                    container ipsec {
1627                      description1599                      description
1628                        "Use IPSec AH authentication";1600                        "Use IPSec AH authentication";
1629                      container spi {1601                      container spi {
1630                        must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";1602                        must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
1631                        presence "Indicates a spi node is configured.";1603                        presence "Indicates a spi node is configured.";
1632                        description1604                        description
1633                          "Specify the Security Parameter Index value";1605                          "Specify the Security Parameter Index value";
1634                        leaf spi-index {1606                        leaf spi-index {
1635                          type uint32 {1607                          type uint32 {
1636                            range "256..4294967295" {1608                            range "256..4294967295" {
1637                              description1609                              description
1638                                "Security Parameter Index value";1610                                "Security Parameter Index value";
1639                            }1611                            }
1640                          }1612                          }
1641                          mandatory true;1613                          mandatory true;
1642                          description1614                          description
1643                            "Specify the Security Parameter Index value";1615                            "Specify the Security Parameter Index value";
1644                        }1616                        }
1645                        container md5 {1617                        container md5 {
1646                          description1618                          description
1647                            "Use the MD5 algorithim";1619                            "Use the MD5 algorithim";
1648                          container password {1620                          container password {
1649                            description1621                            description
1650                              "Enter MD5 key in encrypted form";1622                              "Enter MD5 key in encrypted form";
1651                            leaf encrypted {1623                            leaf encrypted {
1652                              type xr:Proprietary-password;1624                              type xr:Proprietary-password;
1653                              description1625                              description
1654                                "Encrypted key";1626                                "Encrypted key";
1655                            }1627                            }
1656                          }1628                          }
1657                        }1629                        }
1658                        container sha1 {1630                        container sha1 {
1659                          description1631                          description
1660                            "Use the SHA1 algorithim";1632                            "Use the SHA1 algorithim";
1661                          container password {1633                          container password {
1662                            description1634                            description
1663                              "Enter SHA1 key in encrypted form";1635                              "Enter SHA1 key in encrypted form";
1664                            leaf encrypted {1636                            leaf encrypted {
1665                              type xr:Proprietary-password;1637                              type xr:Proprietary-password;
1666                              description1638                              description
1667                                "Encrypted key";1639                                "Encrypted key";
1668                            }1640                            }
1669                          }1641                          }
1670                        }1642                        }
1671                      }1643                      }
1672                    }1644                    }
1673                  }1645                  }
1674                  container encryption {1646                  container encryption {
1675                    must "disable or ipsec/spi";1647                    must "disable or ipsec/spi";
1676                    presence "Indicates a encryption node is configured.";1648                    presence "Indicates a encryption node is configured.";
1677                    description1649                    description
1678                      "Encrypt and authenticate OSPFv3 packets";1650                      "Encrypt and authenticate OSPFv3 packets";
1679                    container disable {1651                    container disable {
1680                      must "not(../ipsec/spi)";1652                      must "not(../ipsec/spi)";
1681                      presence "Indicates a disable node is configured.";1653                      presence "Indicates a disable node is configured.";
1682                      description1654                      description
1683                        "Do not encrypt OSPFv3 packets";1655                        "Do not encrypt OSPFv3 packets";
1684                    }1656                    }
1685                    container ipsec {1657                    container ipsec {
1686                      description1658                      description
1687                        "Use IPSec ESP encryption and authentication";1659                        "Use IPSec ESP encryption and authentication";
1688                      container spi {1660                      container spi {
1689                        must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";1661                        must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
1690                        presence "Indicates a spi node is configured.";1662                        presence "Indicates a spi node is configured.";
1691                        description1663                        description
1692                          "Specify the Security Parameter Index value";1664                          "Specify the Security Parameter Index value";
1693                        leaf spi-index {1665                        leaf spi-index {
1694                          type uint32 {1666                          type uint32 {
1695                            range "256..4294967295" {1667                            range "256..4294967295" {
1696                              description1668                              description
1697                                "Security Parameter Index value";1669                                "Security Parameter Index value";
1698                            }1670                            }
1699                          }1671                          }
1700                          mandatory true;1672                          mandatory true;
1701                          description1673                          description
1702                            "Specify the Security Parameter Index value";1674                            "Specify the Security Parameter Index value";
1703                        }1675                        }
1704                        container esp {1676                        container esp {
1705                          description1677                          description
1706                            "Specify encryption parameters";1678                            "Specify encryption parameters";
1707                          container null {1679                          container null {
1708                            must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";1680                            must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
1709                            presence "Indicates a null node is configured.";1681                            presence "Indicates a null node is configured.";
1710                            description1682                            description
1711                              "Use NULL encryption";1683                              "Use NULL encryption";
1712                          }1684                          }
1713                          container des {1685                          container des {
1714                            description1686                            description
1715                              "Use the DES algorithim. Encrypted DES key (34 hex digits)";1687                              "Use the DES algorithim. Encrypted DES key (34 hex digits)";
1716                            container password {1688                            container password {
1717                              description1689                              description
1718                                "Enter DES key in encrypted form";1690                                "Enter DES key in encrypted form";
1719                              leaf encrypted {1691                              leaf encrypted {
1720                                type xr:Proprietary-password;1692                                type xr:Proprietary-password;
1721                                must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";1693                                must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n1722                                descriptionn
1723                                  "Encrypted key";
1724                              }1694                              }
1725                            }1695                            }
1726                          }1696                          }
1727                          container triple-des {1697                          container triple-des {
1728                            description1698                            description
1729                              "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";1699                              "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
1730                            container password {1700                            container password {
1731                              description1701                              description
1732                                "Enter 3DES key in encrypted form";1702                                "Enter 3DES key in encrypted form";
1733                              leaf encrypted {1703                              leaf encrypted {
1734                                type xr:Proprietary-password;1704                                type xr:Proprietary-password;
1735                                must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";1705                                must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n1736                                descriptionn
1737                                  "Encrypted key";
1738                              }1706                              }
1739                            }1707                            }
1740                          }1708                          }
1741                          container aes {1709                          container aes {
1742                            description1710                            description
1743                              "Use the AES algorithim. Encrypted AES key (32 hex digits)";1711                              "Use the AES algorithim. Encrypted AES key (32 hex digits)";
1744                            container password {1712                            container password {
1745                              description1713                              description
1746                                "Enter AES key in encrypted form";1714                                "Enter AES key in encrypted form";
1747                              leaf encrypted {1715                              leaf encrypted {
1748                                type xr:Proprietary-password;1716                                type xr:Proprietary-password;
1749                                must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";1717                                must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n1750                                descriptionn
1751                                  "Encrypted key";
1752                              }1718                              }
1753                            }1719                            }
1754                            container aes-192 {1720                            container aes-192 {
1755                              description1721                              description
1756                                "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";1722                                "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
1757                              container password {1723                              container password {
1758                                description1724                                description
1759                                  "Enter AES-192 key in encrypted form";1725                                  "Enter AES-192 key in encrypted form";
1760                                leaf encrypted {1726                                leaf encrypted {
1761                                  type xr:Proprietary-password;1727                                  type xr:Proprietary-password;
1762                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";1728                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n1763                                  descriptionn
1764                                    "Encrypted key";
1765                                }1729                                }
1766                              }1730                              }
1767                            }1731                            }
1768                            container aes-256 {1732                            container aes-256 {
1769                              description1733                              description
1770                                "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";1734                                "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
1771                              container password {1735                              container password {
1772                                description1736                                description
1773                                  "Enter AES-256 key in encrypted form";1737                                  "Enter AES-256 key in encrypted form";
1774                                leaf encrypted {1738                                leaf encrypted {
1775                                  type xr:Proprietary-password;1739                                  type xr:Proprietary-password;
1776                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";1740                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n1777                                  descriptionn
1778                                    "Encrypted key";
1779                                }1741                                }
1780                              }1742                              }
1781                            }1743                            }
1782                          }1744                          }
1783                          container authentication {1745                          container authentication {
1784                            must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";1746                            must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
1785                            presence "Indicates a authentication node is configured.";1747                            presence "Indicates a authentication node is configured.";
1786                            description1748                            description
1787                              "Specify authentication parameters";1749                              "Specify authentication parameters";
1788                            container md5 {1750                            container md5 {
1789                              description1751                              description
1790                                "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";1752                                "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
1791                              container password {1753                              container password {
1792                                description1754                                description
1793                                  "Enter MD5 key in encrypted form";1755                                  "Enter MD5 key in encrypted form";
1794                                leaf encrypted {1756                                leaf encrypted {
1795                                  type xr:Proprietary-password;1757                                  type xr:Proprietary-password;
1796                                  description1758                                  description
1797                                    "Enter key in encrypted form";1759                                    "Enter key in encrypted form";
1798                                }1760                                }
1799                              }1761                              }
1800                            }1762                            }
1801                            container sha1 {1763                            container sha1 {
1802                              description1764                              description
1803                                "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";1765                                "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
1804                              container password {1766                              container password {
1805                                description1767                                description
1806                                  "Enter SHA1 key in encrypted form";1768                                  "Enter SHA1 key in encrypted form";
1807                                leaf encrypted {1769                                leaf encrypted {
1808                                  type xr:Proprietary-password;1770                                  type xr:Proprietary-password;
1809                                  description1771                                  description
1810                                    "Enter key in encrypted form";1772                                    "Enter key in encrypted form";
1811                                }1773                                }
1812                              }1774                              }
1813                            }1775                            }
1814                            container null {1776                            container null {
1815                              must "not(../../null)";1777                              must "not(../../null)";
1816                              presence "Indicates a null node is configured.";1778                              presence "Indicates a null node is configured.";
1817                              description1779                              description
1818                                "Use NULL authentication";1780                                "Use NULL authentication";
1819                            }1781                            }
1820                          }1782                          }
1821                        }1783                        }
1822                      }1784                      }
1823                    }1785                    }
1824                  }1786                  }
1825                  leaf hello-interval {1787                  leaf hello-interval {
1826                    type uint32 {1788                    type uint32 {
1827                      range "1..65535" {1789                      range "1..65535" {
1828                        description1790                        description
1829                          "Seconds";1791                          "Seconds";
1830                      }1792                      }
1831                    }1793                    }
1832                    description1794                    description
1833                      "Time between HELLO packets";1795                      "Time between HELLO packets";
1834                  }1796                  }
1835                  leaf dead-interval {1797                  leaf dead-interval {
1836                    type uint32 {1798                    type uint32 {
1837                      range "1..65535" {1799                      range "1..65535" {
1838                        description1800                        description
1839                          "Seconds";1801                          "Seconds";
1840                      }1802                      }
1841                    }1803                    }
1842                    description1804                    description
1843                      "Interval after which a neighbor is declared dead";1805                      "Interval after which a neighbor is declared dead";
1844                  }1806                  }
1845                  leaf retransmit-interval {1807                  leaf retransmit-interval {
1846                    type uint32 {1808                    type uint32 {
1847                      range "1..65535" {1809                      range "1..65535" {
1848                        description1810                        description
1849                          "Seconds";1811                          "Seconds";
1850                      }1812                      }
1851                    }1813                    }
1852                    description1814                    description
1853                      "Delay between LSA retransmissions";1815                      "Delay between LSA retransmissions";
1854                  }1816                  }
1855                  leaf transmit-delay {1817                  leaf transmit-delay {
1856                    type uint32 {1818                    type uint32 {
1857                      range "1..65535" {1819                      range "1..65535" {
1858                        description1820                        description
1859                          "Seconds";1821                          "Seconds";
1860                      }1822                      }
1861                    }1823                    }
1862                    description1824                    description
1863                      "Link state transmit delay";1825                      "Link state transmit delay";
1864                  }1826                  }
1865                }1827                }
1866              }1828              }
1867            }1829            }
1868          }1830          }
1869          container auto-cost {1831          container auto-cost {
1870            presence "Indicates a auto-cost node is configured.";1832            presence "Indicates a auto-cost node is configured.";
1871            description1833            description
1872              "Calculate interface cost according to bandwidth";1834              "Calculate interface cost according to bandwidth";
1873            leaf reference-bandwidth {1835            leaf reference-bandwidth {
1874              type uint32 {1836              type uint32 {
1875                range "1..4294967" {1837                range "1..4294967" {
1876                  description1838                  description
1877                    "The reference bandwidth in terms of Mbits per second";1839                    "The reference bandwidth in terms of Mbits per second";
1878                }1840                }
1879              }1841              }
1880              description1842              description
1881                "Specify reference bandwidth for cost computations";1843                "Specify reference bandwidth for cost computations";
1882            }1844            }
1883            container disable {1845            container disable {
1884              presence "Indicates a disable node is configured.";1846              presence "Indicates a disable node is configured.";
1885              description1847              description
1886                "Assign cost based on interface type";1848                "Assign cost based on interface type";
1887            }1849            }
1888          }1850          }
1889          container default-information {1851          container default-information {
1890            description1852            description
1891              "Control distribution of default information";1853              "Control distribution of default information";
1892            container originate {1854            container originate {
1893              presence "Indicates a originate node is configured.";1855              presence "Indicates a originate node is configured.";
1894              description1856              description
1895                "Distribute a default route";1857                "Distribute a default route";
1896              container always {1858              container always {
1897                presence "Indicates a always node is configured.";1859                presence "Indicates a always node is configured.";
1898                description1860                description
1899                  "Always advertise default route";1861                  "Always advertise default route";
1900              }1862              }
1901              leaf metric {1863              leaf metric {
1902                type uint32 {1864                type uint32 {
1903                  range "0..16777214" {1865                  range "0..16777214" {
1904                    description1866                    description
1905                      "OSPFv3 metric";1867                      "OSPFv3 metric";
1906                  }1868                  }
1907                }1869                }
1908                description1870                description
1909                  "OSPFv3 default metric";1871                  "OSPFv3 default metric";
1910              }1872              }
1911              leaf metric-type {1873              leaf metric-type {
1912                type uint32 {1874                type uint32 {
1913                  range "1..2" {1875                  range "1..2" {
1914                    description1876                    description
1915                      "OSPFv3 Link State type";1877                      "OSPFv3 Link State type";
1916                  }1878                  }
1917                }1879                }
1918                description1880                description
1919                  "OSPFv3 metric type for default routes";1881                  "OSPFv3 metric type for default routes";
1920              }1882              }
1921              leaf tag {1883              leaf tag {
1922                type uint32 {1884                type uint32 {
1923                  range "0..4294967295" {1885                  range "0..4294967295" {
1924                    description1886                    description
1925                      "32-bit tag value";1887                      "32-bit tag value";
1926                  }1888                  }
1927                }1889                }
1928                description1890                description
1929                  "Set tag for default route";1891                  "Set tag for default route";
1930              }1892              }
1931              leaf route-policy {1893              leaf route-policy {
1932                type xr:Route-policy-name;1894                type xr:Route-policy-name;
1933                description1895                description
1934                  "Apply route policy to default-information origination";1896                  "Apply route policy to default-information origination";
1935              }1897              }
1936            }1898            }
1937          }1899          }
1938          leaf default-metric {1900          leaf default-metric {
1939            type uint32 {1901            type uint32 {
1940              range "1..16777214" {1902              range "1..16777214" {
1941                description1903                description
1942                  "Default metric";1904                  "Default metric";
1943              }1905              }
1944            }1906            }
1945            description1907            description
1946              "Set metric of redistributed routes";1908              "Set metric of redistributed routes";
1947          }1909          }
1948          container distance {1910          container distance {
1949            description1911            description
1950              "Define an administrative distance";1912              "Define an administrative distance";
1951            leaf administrative-distance {1913            leaf administrative-distance {
1952              type uint32 {1914              type uint32 {
1953                range "1..255" {1915                range "1..255" {
1954                  description1916                  description
1955                    "Administrative distance";1917                    "Administrative distance";
1956                }1918                }
1957              }1919              }
1958              description1920              description
1959                "Define an administrative distance";1921                "Define an administrative distance";
1960            }1922            }
1961            container ospfv3 {1923            container ospfv3 {
1962              description1924              description
1963                "OSPFv3 administrative distance";1925                "OSPFv3 administrative distance";
1964              leaf intra-area {1926              leaf intra-area {
1965                type uint32 {1927                type uint32 {
1966                  range "1..255" {1928                  range "1..255" {
1967                    description1929                    description
1968                      "Distance for intra-area routes";1930                      "Distance for intra-area routes";
1969                  }1931                  }
1970                }1932                }
1971                description1933                description
1972                  "Intra-area routes";1934                  "Intra-area routes";
1973              }1935              }
1974              leaf inter-area {1936              leaf inter-area {
1975                type uint32 {1937                type uint32 {
1976                  range "1..255" {1938                  range "1..255" {
1977                    description1939                    description
1978                      "Distance for inter-area routes";1940                      "Distance for inter-area routes";
1979                  }1941                  }
1980                }1942                }
1981                description1943                description
1982                  "Inter-area routes";1944                  "Inter-area routes";
1983              }1945              }
1984              leaf external {1946              leaf external {
1985                type uint32 {1947                type uint32 {
1986                  range "1..255" {1948                  range "1..255" {
1987                    description1949                    description
1988                      "Distance for external type 5 and type 7 routes";1950                      "Distance for external type 5 and type 7 routes";
1989                  }1951                  }
1990                }1952                }
1991                description1953                description
1992                  "External type 5 and type 7 routes";1954                  "External type 5 and type 7 routes";
1993              }1955              }
1994            }1956            }
1995          }1957          }
1996          container distribute-list {1958          container distribute-list {
1997            description1959            description
1998              "Filter prefixes to/from RIB";1960              "Filter prefixes to/from RIB";
1999            container prefix-list {1961            container prefix-list {
2000              description1962              description
2001                "Filter prefixes based on an IPv6 prefix-list";1963                "Filter prefixes based on an IPv6 prefix-list";
2002              container in {1964              container in {
2003                presence "Indicates a prefix-list-name node is configured.";1965                presence "Indicates a prefix-list-name node is configured.";
2004                description1966                description
2005                  "Filter prefixes installed to RIB";1967                  "Filter prefixes installed to RIB";
2006                leaf prefix-list-name {1968                leaf prefix-list-name {
2007                  type string {1969                  type string {
2008                    length "1..1024" {1970                    length "1..1024" {
2009                      description1971                      description
2010                        "Prefix-list name";1972                        "Prefix-list name";
2011                    }1973                    }
2012                  }1974                  }
2013                  mandatory true;1975                  mandatory true;
2014                  description1976                  description
2015                    "Prefix-list name";1977                    "Prefix-list name";
2016                }1978                }
2017              }1979              }
2018              container out {1980              container out {
2019                description1981                description
2020                  "Filter prefixes redistributed from RIB ";1982                  "Filter prefixes redistributed from RIB ";
2021                leaf prefix-list-name {1983                leaf prefix-list-name {
2022                  type string {1984                  type string {
2023                    length "1..1024" {1985                    length "1..1024" {
2024                      description1986                      description
2025                        "Prefix-list name";1987                        "Prefix-list name";
2026                    }1988                    }
2027                  }1989                  }
2028                  description1990                  description
2029                    "Prefix-list name";1991                    "Prefix-list name";
2030                }1992                }
2031                container connected {1993                container connected {
2032                  presence "Indicates a connected node is configured.";1994                  presence "Indicates a connected node is configured.";
2033                  description1995                  description
2034                    "Connected routes";1996                    "Connected routes";
2035                  leaf prefix-list-name {1997                  leaf prefix-list-name {
2036                    type string {1998                    type string {
2037                      length "1..1024" {1999                      length "1..1024" {
2038                        description2000                        description
2039                          "Prefix-list name";2001                          "Prefix-list name";
2040                      }2002                      }
2041                    }2003                    }
2042                    mandatory true;2004                    mandatory true;
2043                    description2005                    description
2044                      "Prefix-list name";2006                      "Prefix-list name";
2045                  }2007                  }
2046                }2008                }
2047                container static {2009                container static {
2048                  presence "Indicates a static node is configured.";2010                  presence "Indicates a static node is configured.";
2049                  description2011                  description
2050                    "Static routes";2012                    "Static routes";
2051                  leaf prefix-list-name {2013                  leaf prefix-list-name {
2052                    type string {2014                    type string {
2053                      length "1..1024" {2015                      length "1..1024" {
2054                        description2016                        description
2055                          "Prefix-list name";2017                          "Prefix-list name";
2056                      }2018                      }
2057                    }2019                    }
2058                    mandatory true;2020                    mandatory true;
2059                    description2021                    description
2060                      "Prefix-list name";2022                      "Prefix-list name";
2061                  }2023                  }
2062                }2024                }
2063                container bgp {2025                container bgp {
2064                  description2026                  description
2065                    "BGP routes";2027                    "BGP routes";
2066                  list as {2028                  list as {
2067                    key "as-number";2029                    key "as-number";
2068                    description2030                    description
2069                      "bgp as-number";2031                      "bgp as-number";
2070                    leaf as-number {2032                    leaf as-number {
2071                      type xr:Bgp-as-number;2033                      type xr:Bgp-as-number;
2072                      description2034                      description
2073                        "bgp as-number";2035                        "bgp as-number";
2074                    }2036                    }
2075                    leaf prefix-list-name {2037                    leaf prefix-list-name {
2076                      type string {2038                      type string {
2077                        length "1..1024" {2039                        length "1..1024" {
2078                          description2040                          description
2079                            "Prefix-list name";2041                            "Prefix-list name";
2080                        }2042                        }
2081                      }2043                      }
2082                      mandatory true;2044                      mandatory true;
2083                      description2045                      description
2084                        "Prefix-list name";2046                        "Prefix-list name";
2085                    }2047                    }
2086                  }2048                  }
2087                }2049                }
2088                list ospfv3 {2050                list ospfv3 {
2089                  key "instance-name";2051                  key "instance-name";
2090                  description2052                  description
2091                    "OSPFv3 routes";2053                    "OSPFv3 routes";
2092                  leaf instance-name {2054                  leaf instance-name {
2093                    type string {2055                    type string {
2094                      length "1..1024" {2056                      length "1..1024" {
2095                        description2057                        description
2096                          "OSPFv3 instance name";2058                          "OSPFv3 instance name";
2097                      }2059                      }
2098                    }2060                    }
2099                    description2061                    description
2100                      "OSPFv3 routes";2062                      "OSPFv3 routes";
2101                  }2063                  }
2102                  leaf prefix-list-name {2064                  leaf prefix-list-name {
2103                    type string {2065                    type string {
2104                      length "1..1024" {2066                      length "1..1024" {
2105                        description2067                        description
2106                          "Prefix-list name";2068                          "Prefix-list name";
2107                      }2069                      }
2108                    }2070                    }
2109                    mandatory true;2071                    mandatory true;
2110                    description2072                    description
2111                      "Prefix-list name";2073                      "Prefix-list name";
2112                  }2074                  }
2113                }2075                }
2114                list isis {2076                list isis {
2115                  key "instance-name";2077                  key "instance-name";
2116                  description2078                  description
2117                    "IS-IS routes";2079                    "IS-IS routes";
2118                  leaf instance-name {2080                  leaf instance-name {
2119                    type string {2081                    type string {
2120                      length "1..1024" {2082                      length "1..1024" {
2121                        description2083                        description
2122                          "IS-IS instance name";2084                          "IS-IS instance name";
2123                      }2085                      }
2124                    }2086                    }
2125                    description2087                    description
2126                      "IS-IS routes";2088                      "IS-IS routes";
2127                  }2089                  }
2128                  leaf prefix-list-name {2090                  leaf prefix-list-name {
2129                    type string {2091                    type string {
2130                      length "1..1024" {2092                      length "1..1024" {
2131                        description2093                        description
2132                          "Prefix-list name";2094                          "Prefix-list name";
2133                      }2095                      }
2134                    }2096                    }
2135                    mandatory true;2097                    mandatory true;
2136                    description2098                    description
2137                      "Prefix-list name";2099                      "Prefix-list name";
2138                  }2100                  }
2139                }2101                }
2140                list eigrp {2102                list eigrp {
2141                  key "as-number";2103                  key "as-number";
2142                  description2104                  description
2143                    "EIGRP routes";2105                    "EIGRP routes";
2144                  leaf as-number {2106                  leaf as-number {
2145                    type uint32 {2107                    type uint32 {
2146                      range "1..65535" {2108                      range "1..65535" {
2147                        description2109                        description
2148                          "EIGRP AS number";2110                          "EIGRP AS number";
2149                      }2111                      }
2150                    }2112                    }
2151                    description2113                    description
2152                      "EIGRP routes";2114                      "EIGRP routes";
2153                  }2115                  }
2154                  leaf prefix-list-name {2116                  leaf prefix-list-name {
2155                    type string {2117                    type string {
2156                      length "1..1024" {2118                      length "1..1024" {
2157                        description2119                        description
2158                          "Prefix-list name";2120                          "Prefix-list name";
2159                      }2121                      }
2160                    }2122                    }
2161                    mandatory true;2123                    mandatory true;
2162                    description2124                    description
2163                      "Prefix-list name";2125                      "Prefix-list name";
2164                  }2126                  }
2165                }2127                }
2166              }2128              }
2167            }2129            }
2168          }2130          }
2169          leaf packet-size {2131          leaf packet-size {
2170            type uint32 {2132            type uint32 {
2171              range "256..10000" {2133              range "256..10000" {
2172                description2134                description
2173                  "OSPFv3 packet size limit";2135                  "OSPFv3 packet size limit";
2174              }2136              }
2175            }2137            }
2176            description2138            description
2177              "Limit size of OSPFv3 packets";2139              "Limit size of OSPFv3 packets";
2178          }2140          }
2179          container fast-reroute {2141          container fast-reroute {
2180            description2142            description
2181              "IP Fast Reroute";2143              "IP Fast Reroute";
2182            container per-link {2144            container per-link {
2183              description2145              description
2184                "Per-link Computation";2146                "Per-link Computation";
2185              container enable {2147              container enable {
2186                must "not(../../per-prefix/enable)";2148                must "not(../../per-prefix/enable)";
2187                presence "Indicates a per-link node is configured.";2149                presence "Indicates a per-link node is configured.";
2188                description2150                description
2189                  "Enable per-link Computation";2151                  "Enable per-link Computation";
2190              }2152              }
2191              container exclude {2153              container exclude {
2192                description2154                description
2193                  "Per-link LFA exclusion information";2155                  "Per-link LFA exclusion information";
2194                container interfaces {2156                container interfaces {
2195                  description2157                  description
2196                    "Exclude an interface from Per-link LFA";2158                    "Exclude an interface from Per-link LFA";
2197                  list interface {2159                  list interface {
2198                    key "interface-name";2160                    key "interface-name";
2199                    description2161                    description
2200                      "Exclude an interface from Per-link LFA";2162                      "Exclude an interface from Per-link LFA";
2201                    leaf interface-name {2163                    leaf interface-name {
2202                      type xr:Interface-name;2164                      type xr:Interface-name;
2203                      description2165                      description
2204                        "Exclude an interface from Per-link LFA";2166                        "Exclude an interface from Per-link LFA";
2205                    }2167                    }
2206                  }2168                  }
2207                }2169                }
2208              }2170              }
2209              container lfa-candidate {2171              container lfa-candidate {
2210                description2172                description
2211                  "FRR LFA candidate information";2173                  "FRR LFA candidate information";
2212                container interfaces {2174                container interfaces {
2213                  description2175                  description
2214                    "Include an interface to LFA candidate in computation";2176                    "Include an interface to LFA candidate in computation";
2215                  list interface {2177                  list interface {
2216                    key "interface-name";2178                    key "interface-name";
2217                    description2179                    description
2218                      "Include an interface to LFA candidate in computation";2180                      "Include an interface to LFA candidate in computation";
2219                    leaf interface-name {2181                    leaf interface-name {
2220                      type xr:Interface-name;2182                      type xr:Interface-name;
2221                      description2183                      description
2222                        "Include an interface to LFA candidate in computation";2184                        "Include an interface to LFA candidate in computation";
2223                    }2185                    }
2224                  }2186                  }
2225                }2187                }
2226              }2188              }
2227              container use-candidate-only {2189              container use-candidate-only {
2228                description2190                description
2229                  "Enable/Disable backup selection from candidate-list only";2191                  "Enable/Disable backup selection from candidate-list only";
2230                container enable {2192                container enable {
2231                  must "not(../disable)";2193                  must "not(../disable)";
2232                  presence "Indicates a enable node is configured.";2194                  presence "Indicates a enable node is configured.";
2233                  description2195                  description
2234                    "Enable backup selection from candidate-list only";2196                    "Enable backup selection from candidate-list only";
2235                }2197                }
2236                container disable {2198                container disable {
2237                  must "not(../enable)";2199                  must "not(../enable)";
2238                  presence "Indicates a disable node is configured.";2200                  presence "Indicates a disable node is configured.";
2239                  description2201                  description
2240                    "Disable backup selection from candidate-list only";2202                    "Disable backup selection from candidate-list only";
2241                }2203                }
2242              }2204              }
2243              container priority-limit {2205              container priority-limit {
2244                description2206                description
2245                  "Limit backup computation upto the prefix priority";2207                  "Limit backup computation upto the prefix priority";
2246                container critical {2208                container critical {
2247                  presence "Indicates a critical node is configured.";2209                  presence "Indicates a critical node is configured.";
2248                  description2210                  description
2249                    "Compute for critical priority prefixes only";2211                    "Compute for critical priority prefixes only";
2250                }2212                }
2251                container high {2213                container high {
2252                  presence "Indicates a high node is configured.";2214                  presence "Indicates a high node is configured.";
2253                  description2215                  description
2254                    "Compute for critical & high priority prefixes ";2216                    "Compute for critical & high priority prefixes ";
2255                }2217                }
2256                container medium {2218                container medium {
2257                  presence "Indicates a medium node is configured.";2219                  presence "Indicates a medium node is configured.";
2258                  description2220                  description
2259                    "Compute for critical, high & medium priority prefixes ";2221                    "Compute for critical, high & medium priority prefixes ";
2260                }2222                }
2261              }2223              }
2262            }2224            }
2263            container per-prefix {2225            container per-prefix {
2264              description2226              description
2265                "Per-prefix Computation";2227                "Per-prefix Computation";
2266              container enable {2228              container enable {
2267                must "not(../../per-link/enable)";2229                must "not(../../per-link/enable)";
2268                presence "Indicates a per-prefix node is configured.";2230                presence "Indicates a per-prefix node is configured.";
2269                description2231                description
2270                  "Enable per-prefix Computation";2232                  "Enable per-prefix Computation";
2271              }2233              }
2272              container exclude {2234              container exclude {
2273                description2235                description
2274                  "Per-prefix LFA exclusion information";2236                  "Per-prefix LFA exclusion information";
2275                container interfaces {2237                container interfaces {
2276                  description2238                  description
2277                    "Exclude an interface from Per-prefix LFA";2239                    "Exclude an interface from Per-prefix LFA";
2278                  list interface {2240                  list interface {
2279                    key "interface-name";2241                    key "interface-name";
2280                    description2242                    description
2281                      "Exclude an interface from Per-prefix LFA";2243                      "Exclude an interface from Per-prefix LFA";
2282                    leaf interface-name {2244                    leaf interface-name {
2283                      type xr:Interface-name;2245                      type xr:Interface-name;
2284                      description2246                      description
2285                        "Exclude an interface from Per-prefix LFA";2247                        "Exclude an interface from Per-prefix LFA";
2286                    }2248                    }
2287                  }2249                  }
2288                }2250                }
2289              }2251              }
2290              container lfa-candidate {2252              container lfa-candidate {
2291                description2253                description
2292                  "FRR LFA candidate information";2254                  "FRR LFA candidate information";
2293                container interfaces {2255                container interfaces {
2294                  description2256                  description
2295                    "Include an interface to LFA candidate in computation";2257                    "Include an interface to LFA candidate in computation";
2296                  list interface {2258                  list interface {
2297                    key "interface-name";2259                    key "interface-name";
2298                    description2260                    description
2299                      "Include an interface to LFA candidate in computation";2261                      "Include an interface to LFA candidate in computation";
2300                    leaf interface-name {2262                    leaf interface-name {
2301                      type xr:Interface-name;2263                      type xr:Interface-name;
2302                      description2264                      description
2303                        "Include an interface to LFA candidate in computation";2265                        "Include an interface to LFA candidate in computation";
2304                    }2266                    }
2305                  }2267                  }
2306                }2268                }
2307              }2269              }
2308              container use-candidate-only {2270              container use-candidate-only {
2309                description2271                description
2310                  "Enable/Disable backup selection from candidate-list only";2272                  "Enable/Disable backup selection from candidate-list only";
2311                container enable {2273                container enable {
2312                  must "not(../disable)";2274                  must "not(../disable)";
2313                  presence "Indicates a enable node is configured.";2275                  presence "Indicates a enable node is configured.";
2314                  description2276                  description
2315                    "Enable backup selection from candidate-list only";2277                    "Enable backup selection from candidate-list only";
2316                }2278                }
2317                container disable {2279                container disable {
2318                  must "not(../enable)";2280                  must "not(../enable)";
2319                  presence "Indicates a disable node is configured.";2281                  presence "Indicates a disable node is configured.";
2320                  description2282                  description
2321                    "Disable backup selection from candidate-list only";2283                    "Disable backup selection from candidate-list only";
2322                }2284                }
2323              }2285              }
2324              container priority-limit {2286              container priority-limit {
2325                description2287                description
2326                  "Limit backup computation upto the prefix priority";2288                  "Limit backup computation upto the prefix priority";
2327                container critical {2289                container critical {
2328                  presence "Indicates a critical node is configured.";2290                  presence "Indicates a critical node is configured.";
2329                  description2291                  description
2330                    "Compute for critical priority prefixes only";2292                    "Compute for critical priority prefixes only";
2331                }2293                }
2332                container high {2294                container high {
2333                  presence "Indicates a high node is configured.";2295                  presence "Indicates a high node is configured.";
2334                  description2296                  description
2335                    "Compute for critical & high priority prefixes ";2297                    "Compute for critical & high priority prefixes ";
2336                }2298                }
2337                container medium {2299                container medium {
2338                  presence "Indicates a medium node is configured.";2300                  presence "Indicates a medium node is configured.";
2339                  description2301                  description
2340                    "Compute for critical, high & medium priority prefixes ";2302                    "Compute for critical, high & medium priority prefixes ";
2341                }2303                }
2342              }2304              }
2343              container tiebreaker {2305              container tiebreaker {
2344                description2306                description
2345                  "Configure tiebreaker for multiple backups";2307                  "Configure tiebreaker for multiple backups";
2346                container downstream {2308                container downstream {
2347                  description2309                  description
2348                    "Prefer backup path via downstream node";2310                    "Prefer backup path via downstream node";
2349                  leaf index {2311                  leaf index {
2350                    type uint32 {2312                    type uint32 {
2351                      range "1..255" {2313                      range "1..255" {
2352                        description2314                        description
2353                          "Index";2315                          "Index";
2354                      }2316                      }
2355                    }2317                    }
2356                    description2318                    description
2357                      "Set preference order among tiebreakers";2319                      "Set preference order among tiebreakers";
2358                  }2320                  }
2359                }2321                }
2360                container lc-disjoint {2322                container lc-disjoint {
2361                  description2323                  description
2362                    "Prefer line card disjoint backup path";2324                    "Prefer line card disjoint backup path";
2363                  leaf index {2325                  leaf index {
2364                    type uint32 {2326                    type uint32 {
2365                      range "1..255" {2327                      range "1..255" {
2366                        description2328                        description
2367                          "Index";2329                          "Index";
2368                      }2330                      }
2369                    }2331                    }
2370                    description2332                    description
2371                      "Set preference order among tiebreakers";2333                      "Set preference order among tiebreakers";
2372                  }2334                  }
2373                }2335                }
2374                container lowest-backup-metric {2336                container lowest-backup-metric {
2375                  description2337                  description
2376                    "Prefer backup path with lowest total metric";2338                    "Prefer backup path with lowest total metric";
2377                  leaf index {2339                  leaf index {
2378                    type uint32 {2340                    type uint32 {
2379                      range "1..255" {2341                      range "1..255" {
2380                        description2342                        description
2381                          "Index";2343                          "Index";
2382                      }2344                      }
2383                    }2345                    }
2384                    description2346                    description
2385                      "Set preference order among tiebreakers";2347                      "Set preference order among tiebreakers";
2386                  }2348                  }
2387                }2349                }
2388                container node-protecting {2350                container node-protecting {
2389                  description2351                  description
2390                    "Prefer node protecting backup path";2352                    "Prefer node protecting backup path";
2391                  leaf index {2353                  leaf index {
2392                    type uint32 {2354                    type uint32 {
2393                      range "1..255" {2355                      range "1..255" {
2394                        description2356                        description
2395                          "Index";2357                          "Index";
2396                      }2358                      }
2397                    }2359                    }
2398                    description2360                    description
2399                      "Set preference order among tiebreakers";2361                      "Set preference order among tiebreakers";
2400                  }2362                  }
2401                }2363                }
2402                container primary-path {2364                container primary-path {
2403                  description2365                  description
2404                    "Prefer backup path from ECMP set";2366                    "Prefer backup path from ECMP set";
2405                  leaf index {2367                  leaf index {
2406                    type uint32 {2368                    type uint32 {
2407                      range "1..255" {2369                      range "1..255" {
2408                        description2370                        description
2409                          "Index";2371                          "Index";
2410                      }2372                      }
2411                    }2373                    }
2412                    description2374                    description
2413                      "Set preference order among tiebreakers";2375                      "Set preference order among tiebreakers";
2414                  }2376                  }
2415                }2377                }
2416                container secondary-path {2378                container secondary-path {
2417                  description2379                  description
2418                    "Prefer non-ECMP backup path";2380                    "Prefer non-ECMP backup path";
2419                  leaf index {2381                  leaf index {
2420                    type uint32 {2382                    type uint32 {
2421                      range "1..255" {2383                      range "1..255" {
2422                        description2384                        description
2423                          "Index";2385                          "Index";
2424                      }2386                      }
2425                    }2387                    }
2426                    description2388                    description
2427                      "Set preference order among tiebreakers";2389                      "Set preference order among tiebreakers";
2428                  }2390                  }
2429                }2391                }
2430                container srlg-disjoint {2392                container srlg-disjoint {
2431                  description2393                  description
2432                    "Prefer SRLG disjoint backup path";2394                    "Prefer SRLG disjoint backup path";
2433                  leaf index {2395                  leaf index {
2434                    type uint32 {2396                    type uint32 {
2435                      range "1..255" {2397                      range "1..255" {
2436                        description2398                        description
2437                          "Index";2399                          "Index";
2438                      }2400                      }
2439                    }2401                    }
2440                    description2402                    description
2441                      "Set preference order among tiebreakers";2403                      "Set preference order among tiebreakers";
2442                  }2404                  }
2443                }2405                }
2444              }2406              }
2445              container load-sharing {2407              container load-sharing {
2446                description2408                description
2447                  "Load share prefixes across multiple backups";2409                  "Load share prefixes across multiple backups";
2448                container disable {2410                container disable {
2449                  presence "Indicates a disable node is configured.";2411                  presence "Indicates a disable node is configured.";
2450                  description2412                  description
2451                    "Disable load sharing";2413                    "Disable load sharing";
2452                }2414                }
2453              }2415              }
2454            }2416            }
2455            container disable {2417            container disable {
2456              presence "Indicates a disable node is configured.";2418              presence "Indicates a disable node is configured.";
2457              description2419              description
2458                "Disable IP Fast Reroute";2420                "Disable IP Fast Reroute";
2459            }2421            }
2460          }2422          }
2461          container prefix-suppression {2423          container prefix-suppression {
2462            presence "Indicates a prefix-suppression node is configured.";2424            presence "Indicates a prefix-suppression node is configured.";
2463            description2425            description
2464              "Hide all transit addresses on this interface";2426              "Hide all transit addresses on this interface";
2465          }2427          }
2466          container bfd {2428          container bfd {
2467            description2429            description
2468              "Configure BFD parameters";2430              "Configure BFD parameters";
2469            container fast-detect {2431            container fast-detect {
2470              presence "Indicates a fast-detect node is configured.";2432              presence "Indicates a fast-detect node is configured.";
2471              description2433              description
2472                "Enable Fast detection";2434                "Enable Fast detection";
2473              container strict-mode {2435              container strict-mode {
2474                presence "Indicates a strict-mode node is configured.";2436                presence "Indicates a strict-mode node is configured.";
2475                description2437                description
2476                  "Hold down neighbor session until BFD session is up";2438                  "Hold down neighbor session until BFD session is up";
2477              }2439              }
2478            }2440            }
2479            leaf minimum-interval {2441            leaf minimum-interval {
2480              type uint32 {2442              type uint32 {
2481                range "3..30000" {2443                range "3..30000" {
2482                  description2444                  description
2483                    "minimum interval in milli-seconds";2445                    "minimum interval in milli-seconds";
2484                }2446                }
2485              }2447              }
2486              description2448              description
2487                "Minimum interval";2449                "Minimum interval";
2488            }2450            }
2489            leaf multiplier {2451            leaf multiplier {
2490              type uint32 {2452              type uint32 {
2491                range "2..50" {2453                range "2..50" {
2492                  description2454                  description
2493                    "Detect multiplier";2455                    "Detect multiplier";
2494                }2456                }
2495              }2457              }
2496              description2458              description
2497                "Detect multiplier";2459                "Detect multiplier";
2498            }2460            }
2499          }2461          }
2500          container mpls {2462          container mpls {
2501            description2463            description
2502              "Configure MPLS routing protocol parameters";2464              "Configure MPLS routing protocol parameters";
2503            container ldp {2465            container ldp {
2504              description2466              description
2505                "Configure LDP parameters";2467                "Configure LDP parameters";
2506              container sync {2468              container sync {
2507                presence "Indicates a sync node is configured.";2469                presence "Indicates a sync node is configured.";
2508                description2470                description
2509                  "Enable LDP IGP synchronization";2471                  "Enable LDP IGP synchronization";
2510              }2472              }
2511            }2473            }
2512          }2474          }
2513          container graceful-restart {2475          container graceful-restart {
2514            description2476            description
2515              "Enable Graceful-Restart";2477              "Enable Graceful-Restart";
2516            container enable {2478            container enable {
2517              presence "Indicates a enable node is configured.";2479              presence "Indicates a enable node is configured.";
2518              description2480              description
2519                "Enable Graceful-Restart";2481                "Enable Graceful-Restart";
2520            }2482            }
2521            leaf interval {2483            leaf interval {
2522              type uint32 {2484              type uint32 {
2523                range "90..3600" {2485                range "90..3600" {
2524                  description2486                  description
2525                    "seconds";2487                    "seconds";
2526                }2488                }
2527              }2489              }
2528              description2490              description
2529                "Minimum interval between Graceful Restarts (seconds)";2491                "Minimum interval between Graceful Restarts (seconds)";
2530            }2492            }
2531            leaf lifetime {2493            leaf lifetime {
2532              type uint32 {2494              type uint32 {
2533                range "90..1800" {2495                range "90..1800" {
2534                  description2496                  description
2535                    "seconds";2497                    "seconds";
2536                }2498                }
2537              }2499              }
2538              description2500              description
2539                "Maximum route lifetime following restart (seconds)";2501                "Maximum route lifetime following restart (seconds)";
2540            }2502            }
2541            container helper {2503            container helper {
2542              description2504              description
2543                "router's helper support level";2505                "router's helper support level";
2544              container disable {2506              container disable {
2545                presence "Indicates a disable node is configured.";2507                presence "Indicates a disable node is configured.";
2546                description2508                description
2547                  "router's helper support disabled";2509                  "router's helper support disabled";
2548              }2510              }
2549            }2511            }
2550            container strict-lsa-checking {2512            container strict-lsa-checking {
2551              presence "Indicates a strict-lsa-checking node is configured.";2513              presence "Indicates a strict-lsa-checking node is configured.";
2552              description2514              description
2553                "terminate graceful restart helper mode if lsa changed";2515                "terminate graceful restart helper mode if lsa changed";
2554            }2516            }
2555          }2517          }
2556          container ignore {2518          container ignore {
2557            description2519            description
2558              "Do not complain about a specified event";2520              "Do not complain about a specified event";
2559            container lsa {2521            container lsa {
2560              description2522              description
2561                "Do not complain upon receiving LSA of the specified type";2523                "Do not complain upon receiving LSA of the specified type";
2562              container mospf {2524              container mospf {
2563                presence "Indicates a mospf node is configured.";2525                presence "Indicates a mospf node is configured.";
2564                description2526                description
2565                  "MOSPF Type 6 LSA";2527                  "MOSPF Type 6 LSA";
2566              }2528              }
2567            }2529            }
2568          }2530          }
2569          container authentication {2531          container authentication {
2570            must "disable or ipsec/spi";2532            must "disable or ipsec/spi";
2571            presence "Indicates a authentication node is configured.";2533            presence "Indicates a authentication node is configured.";
2572            description2534            description
2573              "Authenticate OSPFv3 packets";2535              "Authenticate OSPFv3 packets";
2574            container disable {2536            container disable {
2575              must "not(../ipsec/spi)";2537              must "not(../ipsec/spi)";
2576              presence "Indicates a disable node is configured.";2538              presence "Indicates a disable node is configured.";
2577              description2539              description
2578                "Do not authenticate OSPFv3 packets";2540                "Do not authenticate OSPFv3 packets";
2579            }2541            }
2580            container ipsec {2542            container ipsec {
2581              description2543              description
2582                "Use IPSec AH authentication";2544                "Use IPSec AH authentication";
2583              container spi {2545              container spi {
2584                must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";2546                must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
2585                presence "Indicates a spi node is configured.";2547                presence "Indicates a spi node is configured.";
2586                description2548                description
2587                  "Specify the Security Parameter Index value";2549                  "Specify the Security Parameter Index value";
2588                leaf spi-index {2550                leaf spi-index {
2589                  type uint32 {2551                  type uint32 {
2590                    range "256..4294967295" {2552                    range "256..4294967295" {
2591                      description2553                      description
2592                        "Security Parameter Index value";2554                        "Security Parameter Index value";
2593                    }2555                    }
2594                  }2556                  }
2595                  mandatory true;2557                  mandatory true;
2596                  description2558                  description
2597                    "Specify the Security Parameter Index value";2559                    "Specify the Security Parameter Index value";
2598                }2560                }
2599                container md5 {2561                container md5 {
2600                  description2562                  description
2601                    "Use the MD5 algorithim";2563                    "Use the MD5 algorithim";
2602                  container password {2564                  container password {
2603                    description2565                    description
2604                      "Enter MD5 key in encrypted form";2566                      "Enter MD5 key in encrypted form";
2605                    leaf encrypted {2567                    leaf encrypted {
2606                      type xr:Proprietary-password;2568                      type xr:Proprietary-password;
2607                      description2569                      description
2608                        "Encrypted key";2570                        "Encrypted key";
2609                    }2571                    }
2610                  }2572                  }
2611                }2573                }
2612                container sha1 {2574                container sha1 {
2613                  description2575                  description
2614                    "Use the SHA1 algorithim";2576                    "Use the SHA1 algorithim";
2615                  container password {2577                  container password {
2616                    description2578                    description
2617                      "Enter SHA1 key in encrypted form";2579                      "Enter SHA1 key in encrypted form";
2618                    leaf encrypted {2580                    leaf encrypted {
2619                      type xr:Proprietary-password;2581                      type xr:Proprietary-password;
2620                      description2582                      description
2621                        "Encrypted key";2583                        "Encrypted key";
2622                    }2584                    }
2623                  }2585                  }
2624                }2586                }
2625              }2587              }
2626            }2588            }
2627          }2589          }
2628          container encryption {2590          container encryption {
2629            must "disable or ipsec/spi";2591            must "disable or ipsec/spi";
2630            presence "Indicates a encryption node is configured.";2592            presence "Indicates a encryption node is configured.";
2631            description2593            description
2632              "Encrypt and authenticate OSPFv3 packets";2594              "Encrypt and authenticate OSPFv3 packets";
2633            container disable {2595            container disable {
2634              must "not(../ipsec/spi)";2596              must "not(../ipsec/spi)";
2635              presence "Indicates a disable node is configured.";2597              presence "Indicates a disable node is configured.";
2636              description2598              description
2637                "Do not encrypt OSPFv3 packets";2599                "Do not encrypt OSPFv3 packets";
2638            }2600            }
2639            container ipsec {2601            container ipsec {
2640              description2602              description
2641                "Use IPSec ESP encryption and authentication";2603                "Use IPSec ESP encryption and authentication";
2642              container spi {2604              container spi {
2643                must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";2605                must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
2644                presence "Indicates a spi node is configured.";2606                presence "Indicates a spi node is configured.";
2645                description2607                description
2646                  "Specify the Security Parameter Index value";2608                  "Specify the Security Parameter Index value";
2647                leaf spi-index {2609                leaf spi-index {
2648                  type uint32 {2610                  type uint32 {
2649                    range "256..4294967295" {2611                    range "256..4294967295" {
2650                      description2612                      description
2651                        "Security Parameter Index value";2613                        "Security Parameter Index value";
2652                    }2614                    }
2653                  }2615                  }
2654                  mandatory true;2616                  mandatory true;
2655                  description2617                  description
2656                    "Specify the Security Parameter Index value";2618                    "Specify the Security Parameter Index value";
2657                }2619                }
2658                container esp {2620                container esp {
2659                  description2621                  description
2660                    "Specify encryption parameters";2622                    "Specify encryption parameters";
2661                  container null {2623                  container null {
2662                    must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";2624                    must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
2663                    presence "Indicates a null node is configured.";2625                    presence "Indicates a null node is configured.";
2664                    description2626                    description
2665                      "Use NULL encryption";2627                      "Use NULL encryption";
2666                  }2628                  }
2667                  container des {2629                  container des {
2668                    description2630                    description
2669                      "Use the DES algorithim. Encrypted DES key (34 hex digits)";2631                      "Use the DES algorithim. Encrypted DES key (34 hex digits)";
2670                    container password {2632                    container password {
2671                      description2633                      description
2672                        "Enter DES key in encrypted form";2634                        "Enter DES key in encrypted form";
2673                      leaf encrypted {2635                      leaf encrypted {
2674                        type xr:Proprietary-password;2636                        type xr:Proprietary-password;
2675                        must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";2637                        must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n2676                        descriptionn
2677                          "Encrypted key";
2678                      }2638                      }
2679                    }2639                    }
2680                  }2640                  }
2681                  container triple-des {2641                  container triple-des {
2682                    description2642                    description
2683                      "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";2643                      "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
2684                    container password {2644                    container password {
2685                      description2645                      description
2686                        "Enter 3DES key in encrypted form";2646                        "Enter 3DES key in encrypted form";
2687                      leaf encrypted {2647                      leaf encrypted {
2688                        type xr:Proprietary-password;2648                        type xr:Proprietary-password;
2689                        must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";2649                        must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n2690                        descriptionn
2691                          "Encrypted key";
2692                      }2650                      }
2693                    }2651                    }
2694                  }2652                  }
2695                  container aes {2653                  container aes {
2696                    description2654                    description
2697                      "Use the AES algorithim. Encrypted AES key (32 hex digits)";2655                      "Use the AES algorithim. Encrypted AES key (32 hex digits)";
2698                    container password {2656                    container password {
2699                      description2657                      description
2700                        "Enter AES key in encrypted form";2658                        "Enter AES key in encrypted form";
2701                      leaf encrypted {2659                      leaf encrypted {
2702                        type xr:Proprietary-password;2660                        type xr:Proprietary-password;
2703                        must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";2661                        must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n2704                        descriptionn
2705                          "Encrypted key";
2706                      }2662                      }
2707                    }2663                    }
2708                    container aes-192 {2664                    container aes-192 {
2709                      description2665                      description
2710                        "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";2666                        "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
2711                      container password {2667                      container password {
2712                        description2668                        description
2713                          "Enter AES-192 key in encrypted form";2669                          "Enter AES-192 key in encrypted form";
2714                        leaf encrypted {2670                        leaf encrypted {
2715                          type xr:Proprietary-password;2671                          type xr:Proprietary-password;
2716                          must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";2672                          must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n2717                          descriptionn
2718                            "Encrypted key";
2719                        }2673                        }
2720                      }2674                      }
2721                    }2675                    }
2722                    container aes-256 {2676                    container aes-256 {
2723                      description2677                      description
2724                        "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";2678                        "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
2725                      container password {2679                      container password {
2726                        description2680                        description
2727                          "Enter AES-256 key in encrypted form";2681                          "Enter AES-256 key in encrypted form";
2728                        leaf encrypted {2682                        leaf encrypted {
2729                          type xr:Proprietary-password;2683                          type xr:Proprietary-password;
2730                          must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";2684                          must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n2731                          descriptionn
2732                            "Encrypted key";
2733                        }2685                        }
2734                      }2686                      }
2735                    }2687                    }
2736                  }2688                  }
2737                  container authentication {2689                  container authentication {
2738                    must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";2690                    must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
2739                    presence "Indicates a authentication node is configured.";2691                    presence "Indicates a authentication node is configured.";
2740                    description2692                    description
2741                      "Specify authentication parameters";2693                      "Specify authentication parameters";
2742                    container md5 {2694                    container md5 {
2743                      description2695                      description
2744                        "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";2696                        "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
2745                      container password {2697                      container password {
2746                        description2698                        description
2747                          "Enter MD5 key in encrypted form";2699                          "Enter MD5 key in encrypted form";
2748                        leaf encrypted {2700                        leaf encrypted {
2749                          type xr:Proprietary-password;2701                          type xr:Proprietary-password;
2750                          description2702                          description
2751                            "Enter key in encrypted form";2703                            "Enter key in encrypted form";
2752                        }2704                        }
2753                      }2705                      }
2754                    }2706                    }
2755                    container sha1 {2707                    container sha1 {
2756                      description2708                      description
2757                        "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";2709                        "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
2758                      container password {2710                      container password {
2759                        description2711                        description
2760                          "Enter SHA1 key in encrypted form";2712                          "Enter SHA1 key in encrypted form";
2761                        leaf encrypted {2713                        leaf encrypted {
2762                          type xr:Proprietary-password;2714                          type xr:Proprietary-password;
2763                          description2715                          description
2764                            "Enter key in encrypted form";2716                            "Enter key in encrypted form";
2765                        }2717                        }
2766                      }2718                      }
2767                    }2719                    }
2768                    container null {2720                    container null {
2769                      must "not(../../null)";2721                      must "not(../../null)";
2770                      presence "Indicates a null node is configured.";2722                      presence "Indicates a null node is configured.";
2771                      description2723                      description
2772                        "Use NULL authentication";2724                        "Use NULL authentication";
2773                    }2725                    }
2774                  }2726                  }
2775                }2727                }
2776              }2728              }
2777            }2729            }
2778          }2730          }
2779          container network {2731          container network {
2780            description2732            description
2781              "Network type";2733              "Network type";
2782            container broadcast {2734            container broadcast {
2783              presence "Indicates a broadcast node is configured.";2735              presence "Indicates a broadcast node is configured.";
2784              description2736              description
2785                "Specify OSPFv3 broadcast multi-access network";2737                "Specify OSPFv3 broadcast multi-access network";
2786            }2738            }
2787            container non-broadcast {2739            container non-broadcast {
2788              presence "Indicates a non-broadcast node is configured.";2740              presence "Indicates a non-broadcast node is configured.";
2789              description2741              description
2790                "Specify OSPFv3 NBMA network";2742                "Specify OSPFv3 NBMA network";
2791            }2743            }
2792            container point-to-point {2744            container point-to-point {
2793              presence "Indicates a point-to-point node is configured.";2745              presence "Indicates a point-to-point node is configured.";
2794              description2746              description
2795                "Specify OSPFv3 point-to-point network";2747                "Specify OSPFv3 point-to-point network";
2796            }2748            }
2797            container point-to-multipoint {2749            container point-to-multipoint {
2798              presence "Indicates a point-to-multipoint node is configured.";2750              presence "Indicates a point-to-multipoint node is configured.";
2799              description2751              description
2800                "Specify OSPFv3 point-to-multipoint network";2752                "Specify OSPFv3 point-to-multipoint network";
2801            }2753            }
2802          }2754          }
2803          leaf cost {2755          leaf cost {
2804            type uint32 {2756            type uint32 {
2805              range "1..65535" {2757              range "1..65535" {
2806                description2758                description
2807                  "Cost";2759                  "Cost";
2808              }2760              }
2809            }2761            }
2810            description2762            description
2811              "Interface cost";2763              "Interface cost";
2812          }2764          }
2813          leaf hello-interval {2765          leaf hello-interval {
2814            type uint32 {2766            type uint32 {
2815              range "1..65535" {2767              range "1..65535" {
2816                description2768                description
2817                  "Seconds";2769                  "Seconds";
2818              }2770              }
2819            }2771            }
2820            description2772            description
2821              "Time between HELLO packets";2773              "Time between HELLO packets";
2822          }2774          }
2823          leaf dead-interval {2775          leaf dead-interval {
2824            type uint32 {2776            type uint32 {
2825              range "1..65535" {2777              range "1..65535" {
2826                description2778                description
2827                  "Seconds";2779                  "Seconds";
2828              }2780              }
2829            }2781            }
2830            description2782            description
2831              "Interval after which a neighbor is declared dead";2783              "Interval after which a neighbor is declared dead";
2832          }2784          }
2833          leaf priority {2785          leaf priority {
2834            type uint32 {2786            type uint32 {
2835              range "0..255" {2787              range "0..255" {
2836                description2788                description
2837                  "Priority";2789                  "Priority";
2838              }2790              }
2839            }2791            }
2840            description2792            description
2841              "Router priority";2793              "Router priority";
2842          }2794          }
2843          leaf retransmit-interval {2795          leaf retransmit-interval {
2844            type uint32 {2796            type uint32 {
2845              range "1..65535" {2797              range "1..65535" {
2846                description2798                description
2847                  "Seconds";2799                  "Seconds";
2848              }2800              }
2849            }2801            }
2850            description2802            description
2851              "Delay between LSA retransmissions";2803              "Delay between LSA retransmissions";
2852          }2804          }
2853          leaf transmit-delay {2805          leaf transmit-delay {
2854            type uint32 {2806            type uint32 {
2855              range "1..65535" {2807              range "1..65535" {
2856                description2808                description
2857                  "Seconds";2809                  "Seconds";
2858              }2810              }
2859            }2811            }
2860            description2812            description
2861              "Link state transmit delay";2813              "Link state transmit delay";
2862          }2814          }
2863          container flood-reduction {2815          container flood-reduction {
2864            presence "Indicates a flood-reduction node is configured.";2816            presence "Indicates a flood-reduction node is configured.";
2865            description2817            description
2866              "Enable/Disable flood reduction";2818              "Enable/Disable flood reduction";
2867          }2819          }
2868          container demand-circuit {2820          container demand-circuit {
2869            presence "Indicates a demand-circuit node is configured.";2821            presence "Indicates a demand-circuit node is configured.";
2870            description2822            description
2871              "Enable/Disable demand circuit operation";2823              "Enable/Disable demand circuit operation";
2872          }2824          }
2873          container mtu-ignore {2825          container mtu-ignore {
2874            presence "Indicates a mtu-ignore node is configured.";2826            presence "Indicates a mtu-ignore node is configured.";
2875            description2827            description
2876              "Enable/Disable ignoring of MTU in DBD packets";2828              "Enable/Disable ignoring of MTU in DBD packets";
2877          }2829          }
2878          leaf instance {2830          leaf instance {
2879            type uint32 {2831            type uint32 {
2880              range "0..255" {2832              range "0..255" {
2881                description2833                description
2882                  "Instance ID";2834                  "Instance ID";
2883              }2835              }
2884            }2836            }
2885            description2837            description
2886              "Instance ID";2838              "Instance ID";
2887          }2839          }
2888          container database-filter {2840          container database-filter {
2889            description2841            description
2890              "Filter LSAs during synchronization and flooding";2842              "Filter LSAs during synchronization and flooding";
2891            container all {2843            container all {
2892              description2844              description
2893                "Filter all LSA";2845                "Filter all LSA";
2894              container out {2846              container out {
2895                presence "Indicates a out node is configured.";2847                presence "Indicates a out node is configured.";
2896                description2848                description
2897                  "Outgoing LSA";2849                  "Outgoing LSA";
2898              }2850              }
2899            }2851            }
2900          }2852          }
2901          container passive {2853          container passive {
2902            presence "Indicates a passive node is configured.";2854            presence "Indicates a passive node is configured.";
2903            description2855            description
2904              "Enable/Disable routing updates on an interface";2856              "Enable/Disable routing updates on an interface";
2905          }2857          }
2906          container log {2858          container log {
2907            description2859            description
2908              "Control OSPFv3 console logging";2860              "Control OSPFv3 console logging";
2909            container adjacency {2861            container adjacency {
2910              description2862              description
2911                "Log adjacency state changes";2863                "Log adjacency state changes";
2912              container changes {2864              container changes {
2913                description2865                description
2914                  "Log changes";2866                  "Log changes";
2915                container detail {2867                container detail {
2916                  presence "Indicates a detail node is configured.";2868                  presence "Indicates a detail node is configured.";
2917                  description2869                  description
2918                    "Log all state changes";2870                    "Log all state changes";
2919                }2871                }
2920                container disable {2872                container disable {
2921                  presence "Indicates a disable node is configured.";2873                  presence "Indicates a disable node is configured.";
2922                  description2874                  description
2923                    "Disable logging";2875                    "Disable logging";
2924                }2876                }
2925              }2877              }
2926            }2878            }
2927          }2879          }
2928          container maximum {2880          container maximum {
2929            description2881            description
2930              "Set OSPFv3 limits";2882              "Set OSPFv3 limits";
2931            leaf interfaces {2883            leaf interfaces {
2932              type uint32 {2884              type uint32 {
2933                range "1..4294967295" {2885                range "1..4294967295" {
2934                  description2886                  description
2935                    "Maximum number of interfaces";2887                    "Maximum number of interfaces";
2936                }2888                }
2937              }2889              }
2938              description2890              description
2939                "Limit number of interfaces";2891                "Limit number of interfaces";
2940            }2892            }
2941            leaf paths {2893            leaf paths {
2942              type uint32 {2894              type uint32 {
2943                range "1..64" {2895                range "1..64" {
2944                  description2896                  description
2945                    "Maximum number of paths per route";2897                    "Maximum number of paths per route";
2946                }2898                }
2947              }2899              }
2948              description2900              description
2949                "Limit number of paths";2901                "Limit number of paths";
2950            }2902            }
2951            container redistributed-prefixes {2903            container redistributed-prefixes {
2952              presence "Indicates a redistributed-prefixes node is configured.";2904              presence "Indicates a redistributed-prefixes node is configured.";
2953              description2905              description
2954                "Limit number of redistributed prefixes";2906                "Limit number of redistributed prefixes";
2955              leaf prefixes {2907              leaf prefixes {
2956                type uint32 {2908                type uint32 {
2957                  range "1..4294967295" {2909                  range "1..4294967295" {
2958                    description2910                    description
2959                      "Maximum number of prefixes redistributed into OSPFv3";2911                      "Maximum number of prefixes redistributed into OSPFv3";
2960                  }2912                  }
2961                }2913                }
2962                mandatory true;2914                mandatory true;
2963                description2915                description
2964                  "Limit number of redistributed prefixes";2916                  "Limit number of redistributed prefixes";
2965              }2917              }
2966              leaf threshold {2918              leaf threshold {
2967                type uint32 {2919                type uint32 {
2968                  range "1..100";2920                  range "1..100";
2969                }2921                }
2970                description2922                description
2971                  "Threshold value (%) at which to generate a warning msg";2923                  "Threshold value (%) at which to generate a warning msg";
2972              }2924              }
2973              container warning-only {2925              container warning-only {
2974                presence "Indicates a warning-only node is configured.";2926                presence "Indicates a warning-only node is configured.";
2975                description2927                description
2976                  "Only give warning message when limit is exceeded";2928                  "Only give warning message when limit is exceeded";
2977              }2929              }
2978            }2930            }
2979          }2931          }
2980          container redistribute {2932          container redistribute {
2981            description2933            description
2982              "Redistribute information from another routing protocol";2934              "Redistribute information from another routing protocol";
2983            container connected {2935            container connected {
2984              presence "Indicates a connected node is configured.";2936              presence "Indicates a connected node is configured.";
2985              description2937              description
2986                "Connected routes";2938                "Connected routes";
2987              container metric {2939              container metric {
2988                description2940                description
2989                  "Metric for redistributed routes";2941                  "Metric for redistributed routes";
2990                leaf default-metric {2942                leaf default-metric {
2991                  type uint32 {2943                  type uint32 {
2992                    range "0..16777214" {2944                    range "0..16777214" {
2993                      description2945                      description
2994                        "OSPFv3 default metric";2946                        "OSPFv3 default metric";
2995                    }2947                    }
2996                  }2948                  }
2997                  description2949                  description
2998                    "OSPFv3 default metric";2950                    "OSPFv3 default metric";
2999                }2951                }
3000                container use-rib-metric {2952                container use-rib-metric {
3001                  presence "Indicates a use-rib-metric node is configured.";2953                  presence "Indicates a use-rib-metric node is configured.";
3002                  description2954                  description
3003                    "Use metric from RIB";2955                    "Use metric from RIB";
3004                }2956                }
3005              }2957              }
3006              leaf metric-type {2958              leaf metric-type {
3007                type enumeration {2959                type enumeration {
3008                  enum "1" {2960                  enum "1" {
3009                    value 1;2961                    value 1;
3010                    description2962                    description
3011                      "Set OSPFv3 External Type 1 metrics";2963                      "Set OSPFv3 External Type 1 metrics";
3012                  }2964                  }
3013                  enum "2" {2965                  enum "2" {
3014                    value 2;2966                    value 2;
3015                    description2967                    description
3016                      "Set OSPFv3 External Type 2 metrics";2968                      "Set OSPFv3 External Type 2 metrics";
3017                  }2969                  }
3018                }2970                }
3019                description2971                description
3020                  "OSPFv3 exterior metric type for redistributed routes";2972                  "OSPFv3 exterior metric type for redistributed routes";
3021              }2973              }
3022              leaf tag {2974              leaf tag {
3023                type uint32 {2975                type uint32 {
3024                  range "0..4294967295" {2976                  range "0..4294967295" {
3025                    description2977                    description
3026                      "32-bit tag value";2978                      "32-bit tag value";
3027                  }2979                  }
3028                }2980                }
3029                description2981                description
3030                  "Set tag for routes redistributed into OSPFv3";2982                  "Set tag for routes redistributed into OSPFv3";
3031              }2983              }
3032              leaf route-policy {2984              leaf route-policy {
3033                type xr:Route-policy-name;2985                type xr:Route-policy-name;
3034                description2986                description
3035                  "Apply route-policy to redistribution";2987                  "Apply route-policy to redistribution";
3036              }2988              }
3037            }2989            }
3038            container static {2990            container static {
3039              presence "Indicates a static node is configured.";2991              presence "Indicates a static node is configured.";
3040              description2992              description
3041                "Static routes";2993                "Static routes";
3042              container metric {2994              container metric {
3043                description2995                description
3044                  "Metric for redistributed routes";2996                  "Metric for redistributed routes";
3045                leaf default-metric {2997                leaf default-metric {
3046                  type uint32 {2998                  type uint32 {
3047                    range "0..16777214" {2999                    range "0..16777214" {
3048                      description3000                      description
3049                        "OSPFv3 default metric";3001                        "OSPFv3 default metric";
3050                    }3002                    }
3051                  }3003                  }
3052                  description3004                  description
3053                    "OSPFv3 default metric";3005                    "OSPFv3 default metric";
3054                }3006                }
3055                container use-rib-metric {3007                container use-rib-metric {
3056                  presence "Indicates a use-rib-metric node is configured.";3008                  presence "Indicates a use-rib-metric node is configured.";
3057                  description3009                  description
3058                    "Use metric from RIB";3010                    "Use metric from RIB";
3059                }3011                }
3060              }3012              }
3061              leaf metric-type {3013              leaf metric-type {
3062                type enumeration {3014                type enumeration {
3063                  enum "1" {3015                  enum "1" {
3064                    value 1;3016                    value 1;
3065                    description3017                    description
3066                      "Set OSPFv3 External Type 1 metrics";3018                      "Set OSPFv3 External Type 1 metrics";
3067                  }3019                  }
3068                  enum "2" {3020                  enum "2" {
3069                    value 2;3021                    value 2;
3070                    description3022                    description
3071                      "Set OSPFv3 External Type 2 metrics";3023                      "Set OSPFv3 External Type 2 metrics";
3072                  }3024                  }
3073                }3025                }
3074                description3026                description
3075                  "OSPFv3 exterior metric type for redistributed routes";3027                  "OSPFv3 exterior metric type for redistributed routes";
3076              }3028              }
3077              leaf tag {3029              leaf tag {
3078                type uint32 {3030                type uint32 {
3079                  range "0..4294967295" {3031                  range "0..4294967295" {
3080                    description3032                    description
3081                      "32-bit tag value";3033                      "32-bit tag value";
3082                  }3034                  }
3083                }3035                }
3084                description3036                description
3085                  "Set tag for routes redistributed into OSPFv3";3037                  "Set tag for routes redistributed into OSPFv3";
3086              }3038              }
3087              leaf route-policy {3039              leaf route-policy {
3088                type xr:Route-policy-name;3040                type xr:Route-policy-name;
3089                description3041                description
3090                  "Apply route-policy to redistribution";3042                  "Apply route-policy to redistribution";
3091              }3043              }
3092            }3044            }
3093            container subscriber {3045            container subscriber {
3094              presence "Indicates a subscriber node is configured.";3046              presence "Indicates a subscriber node is configured.";
3095              description3047              description
3096                "Subscriber routes";3048                "Subscriber routes";
3097              container metric {3049              container metric {
3098                description3050                description
3099                  "Metric for redistributed routes";3051                  "Metric for redistributed routes";
3100                leaf default-metric {3052                leaf default-metric {
3101                  type uint32 {3053                  type uint32 {
3102                    range "0..16777214" {3054                    range "0..16777214" {
3103                      description3055                      description
3104                        "OSPFv3 default metric";3056                        "OSPFv3 default metric";
3105                    }3057                    }
3106                  }3058                  }
3107                  description3059                  description
3108                    "OSPFv3 default metric";3060                    "OSPFv3 default metric";
3109                }3061                }
3110                container use-rib-metric {3062                container use-rib-metric {
3111                  presence "Indicates a use-rib-metric node is configured.";3063                  presence "Indicates a use-rib-metric node is configured.";
3112                  description3064                  description
3113                    "Use metric from RIB";3065                    "Use metric from RIB";
3114                }3066                }
3115              }3067              }
3116              leaf metric-type {3068              leaf metric-type {
3117                type enumeration {3069                type enumeration {
3118                  enum "1" {3070                  enum "1" {
3119                    value 1;3071                    value 1;
3120                    description3072                    description
3121                      "Set OSPFv3 External Type 1 metrics";3073                      "Set OSPFv3 External Type 1 metrics";
3122                  }3074                  }
3123                  enum "2" {3075                  enum "2" {
3124                    value 2;3076                    value 2;
3125                    description3077                    description
3126                      "Set OSPFv3 External Type 2 metrics";3078                      "Set OSPFv3 External Type 2 metrics";
3127                  }3079                  }
3128                }3080                }
3129                description3081                description
3130                  "OSPFv3 exterior metric type for redistributed routes";3082                  "OSPFv3 exterior metric type for redistributed routes";
3131              }3083              }
3132              leaf tag {3084              leaf tag {
3133                type uint32 {3085                type uint32 {
3134                  range "0..4294967295" {3086                  range "0..4294967295" {
3135                    description3087                    description
3136                      "32-bit tag value";3088                      "32-bit tag value";
3137                  }3089                  }
3138                }3090                }
3139                description3091                description
3140                  "Set tag for routes redistributed into OSPFv3";3092                  "Set tag for routes redistributed into OSPFv3";
3141              }3093              }
3142              leaf route-policy {3094              leaf route-policy {
3143                type xr:Route-policy-name;3095                type xr:Route-policy-name;
3144                description3096                description
3145                  "Apply route-policy to redistribution";3097                  "Apply route-policy to redistribution";
3146              }3098              }
3147            }3099            }
3148            container mobile {3100            container mobile {
3149              presence "Indicates a mobile node is configured.";3101              presence "Indicates a mobile node is configured.";
3150              description3102              description
3151                "Mobile routes";3103                "Mobile routes";
3152              container metric {3104              container metric {
3153                description3105                description
3154                  "Metric for redistributed routes";3106                  "Metric for redistributed routes";
3155                leaf default-metric {3107                leaf default-metric {
3156                  type uint32 {3108                  type uint32 {
3157                    range "0..16777214" {3109                    range "0..16777214" {
3158                      description3110                      description
3159                        "OSPFv3 default metric";3111                        "OSPFv3 default metric";
3160                    }3112                    }
3161                  }3113                  }
3162                  description3114                  description
3163                    "OSPFv3 default metric";3115                    "OSPFv3 default metric";
3164                }3116                }
3165                container use-rib-metric {3117                container use-rib-metric {
3166                  presence "Indicates a use-rib-metric node is configured.";3118                  presence "Indicates a use-rib-metric node is configured.";
3167                  description3119                  description
3168                    "Use metric from RIB";3120                    "Use metric from RIB";
3169                }3121                }
3170              }3122              }
3171              leaf metric-type {3123              leaf metric-type {
3172                type enumeration {3124                type enumeration {
3173                  enum "1" {3125                  enum "1" {
3174                    value 1;3126                    value 1;
3175                    description3127                    description
3176                      "Set OSPFv3 External Type 1 metrics";3128                      "Set OSPFv3 External Type 1 metrics";
3177                  }3129                  }
3178                  enum "2" {3130                  enum "2" {
3179                    value 2;3131                    value 2;
3180                    description3132                    description
3181                      "Set OSPFv3 External Type 2 metrics";3133                      "Set OSPFv3 External Type 2 metrics";
3182                  }3134                  }
3183                }3135                }
3184                description3136                description
3185                  "OSPFv3 exterior metric type for redistributed routes";3137                  "OSPFv3 exterior metric type for redistributed routes";
3186              }3138              }
3187              leaf tag {3139              leaf tag {
3188                type uint32 {3140                type uint32 {
3189                  range "0..4294967295" {3141                  range "0..4294967295" {
3190                    description3142                    description
3191                      "32-bit tag value";3143                      "32-bit tag value";
3192                  }3144                  }
3193                }3145                }
3194                description3146                description
3195                  "Set tag for routes redistributed into OSPFv3";3147                  "Set tag for routes redistributed into OSPFv3";
3196              }3148              }
3197              leaf route-policy {3149              leaf route-policy {
3198                type xr:Route-policy-name;3150                type xr:Route-policy-name;
3199                description3151                description
3200                  "Apply route-policy to redistribution";3152                  "Apply route-policy to redistribution";
3201              }3153              }
3202            }3154            }
3203            container bgp {3155            container bgp {
3204              description3156              description
3205                "BGP routes";3157                "BGP routes";
3206              list as {3158              list as {
3207                key "as-number";3159                key "as-number";
3208                description3160                description
3209                  "bgp as-number";3161                  "bgp as-number";
3210                leaf as-number {3162                leaf as-number {
3211                  type xr:Bgp-as-number;3163                  type xr:Bgp-as-number;
3212                  description3164                  description
3213                    "bgp as-number";3165                    "bgp as-number";
3214                }3166                }
3215                container preserve-med {3167                container preserve-med {
3216                  presence "Indicates a preserve-med node is configured.";3168                  presence "Indicates a preserve-med node is configured.";
3217                  description3169                  description
3218                    "Preserve med of BGP routes";3170                    "Preserve med of BGP routes";
3219                }3171                }
3220                container metric {3172                container metric {
3221                  description3173                  description
3222                    "Metric for redistributed routes";3174                    "Metric for redistributed routes";
3223                  leaf default-metric {3175                  leaf default-metric {
3224                    type uint32 {3176                    type uint32 {
3225                      range "0..16777214" {3177                      range "0..16777214" {
3226                        description3178                        description
3227                          "OSPFv3 default metric";3179                          "OSPFv3 default metric";
3228                      }3180                      }
3229                    }3181                    }
3230                    description3182                    description
3231                      "OSPFv3 default metric";3183                      "OSPFv3 default metric";
3232                  }3184                  }
3233                  container use-rib-metric {3185                  container use-rib-metric {
3234                    presence "Indicates a use-rib-metric node is configured.";3186                    presence "Indicates a use-rib-metric node is configured.";
3235                    description3187                    description
3236                      "Use metric from RIB";3188                      "Use metric from RIB";
3237                  }3189                  }
3238                }3190                }
3239                leaf metric-type {3191                leaf metric-type {
3240                  type enumeration {3192                  type enumeration {
3241                    enum "1" {3193                    enum "1" {
3242                      value 1;3194                      value 1;
3243                      description3195                      description
3244                        "Set OSPFv3 External Type 1 metrics";3196                        "Set OSPFv3 External Type 1 metrics";
3245                    }3197                    }
3246                    enum "2" {3198                    enum "2" {
3247                      value 2;3199                      value 2;
3248                      description3200                      description
3249                        "Set OSPFv3 External Type 2 metrics";3201                        "Set OSPFv3 External Type 2 metrics";
3250                    }3202                    }
3251                  }3203                  }
3252                  description3204                  description
3253                    "OSPFv3 exterior metric type for redistributed routes";3205                    "OSPFv3 exterior metric type for redistributed routes";
3254                }3206                }
3255                leaf tag {3207                leaf tag {
3256                  type uint32 {3208                  type uint32 {
3257                    range "0..4294967295" {3209                    range "0..4294967295" {
3258                      description3210                      description
3259                        "32-bit tag value";3211                        "32-bit tag value";
3260                    }3212                    }
3261                  }3213                  }
3262                  description3214                  description
3263                    "Set tag for routes redistributed into OSPFv3";3215                    "Set tag for routes redistributed into OSPFv3";
3264                }3216                }
3265                leaf route-policy {3217                leaf route-policy {
3266                  type xr:Route-policy-name;3218                  type xr:Route-policy-name;
3267                  description3219                  description
3268                    "Apply route-policy to redistribution";3220                    "Apply route-policy to redistribution";
3269                }3221                }
3270              }3222              }
3271            }3223            }
3272            list eigrp {3224            list eigrp {
3273              key "as-number";3225              key "as-number";
3274              description3226              description
3275                "Enhanced Interior Gateway Routing Protocol (EIGRP)";3227                "Enhanced Interior Gateway Routing Protocol (EIGRP)";
3276              leaf as-number {3228              leaf as-number {
3277                type uint32 {3229                type uint32 {
3278                  range "1..65535" {3230                  range "1..65535" {
3279                    description3231                    description
3280                      "Autonomous system number";3232                      "Autonomous system number";
3281                  }3233                  }
3282                }3234                }
3283                description3235                description
3284                  "Enhanced Interior Gateway Routing Protocol (EIGRP)";3236                  "Enhanced Interior Gateway Routing Protocol (EIGRP)";
3285              }3237              }
3286              container match {3238              container match {
3287                description3239                description
3288                  "Redistribution of EIGRP routes";3240                  "Redistribution of EIGRP routes";
3289                container internal {3241                container internal {
3290                  presence "Indicates a internal node is configured.";3242                  presence "Indicates a internal node is configured.";
3291                  description3243                  description
3292                    "Redistribute EIGRP internal routes";3244                    "Redistribute EIGRP internal routes";
3293                }3245                }
3294                container external {3246                container external {
3295                  presence "Indicates a external node is configured.";3247                  presence "Indicates a external node is configured.";
3296                  description3248                  description
3297                    "Redistribute EIGRP external routes";3249                    "Redistribute EIGRP external routes";
3298                }3250                }
3299              }3251              }
3300              container metric {3252              container metric {
3301                description3253                description
3302                  "Metric for redistributed routes";3254                  "Metric for redistributed routes";
3303                leaf default-metric {3255                leaf default-metric {
3304                  type uint32 {3256                  type uint32 {
3305                    range "0..16777214" {3257                    range "0..16777214" {
3306                      description3258                      description
3307                        "OSPFv3 default metric";3259                        "OSPFv3 default metric";
3308                    }3260                    }
3309                  }3261                  }
3310                  description3262                  description
3311                    "OSPFv3 default metric";3263                    "OSPFv3 default metric";
3312                }3264                }
3313                container use-rib-metric {3265                container use-rib-metric {
3314                  presence "Indicates a use-rib-metric node is configured.";3266                  presence "Indicates a use-rib-metric node is configured.";
3315                  description3267                  description
3316                    "Use metric from RIB";3268                    "Use metric from RIB";
3317                }3269                }
3318              }3270              }
3319              leaf metric-type {3271              leaf metric-type {
3320                type enumeration {3272                type enumeration {
3321                  enum "1" {3273                  enum "1" {
3322                    value 1;3274                    value 1;
3323                    description3275                    description
3324                      "Set OSPFv3 External Type 1 metrics";3276                      "Set OSPFv3 External Type 1 metrics";
3325                  }3277                  }
3326                  enum "2" {3278                  enum "2" {
3327                    value 2;3279                    value 2;
3328                    description3280                    description
3329                      "Set OSPFv3 External Type 2 metrics";3281                      "Set OSPFv3 External Type 2 metrics";
3330                  }3282                  }
3331                }3283                }
3332                description3284                description
3333                  "OSPFv3 exterior metric type for redistributed routes";3285                  "OSPFv3 exterior metric type for redistributed routes";
3334              }3286              }
3335              leaf tag {3287              leaf tag {
3336                type uint32 {3288                type uint32 {
3337                  range "0..4294967295" {3289                  range "0..4294967295" {
3338                    description3290                    description
3339                      "32-bit tag value";3291                      "32-bit tag value";
3340                  }3292                  }
3341                }3293                }
3342                description3294                description
3343                  "Set tag for routes redistributed into OSPFv3";3295                  "Set tag for routes redistributed into OSPFv3";
3344              }3296              }
3345              leaf route-policy {3297              leaf route-policy {
3346                type xr:Route-policy-name;3298                type xr:Route-policy-name;
3347                description3299                description
3348                  "Apply route-policy to redistribution";3300                  "Apply route-policy to redistribution";
3349              }3301              }
3350            }3302            }
3351            list isis {3303            list isis {
3352              key "instance-name";3304              key "instance-name";
3353              description3305              description
3354                "IS-IS routes";3306                "IS-IS routes";
3355              leaf instance-name {3307              leaf instance-name {
3356                type string {3308                type string {
3357                  length "1..1024" {3309                  length "1..1024" {
3358                    description3310                    description
3359                      "IS-IS instance name";3311                      "IS-IS instance name";
3360                  }3312                  }
3361                }3313                }
3362                description3314                description
3363                  "IS-IS routes";3315                  "IS-IS routes";
3364              }3316              }
3365              container level-1 {3317              container level-1 {
3366                presence "Indicates a level-1 node is configured.";3318                presence "Indicates a level-1 node is configured.";
3367                description3319                description
3368                  "IS-IS level-1 routes only";3320                  "IS-IS level-1 routes only";
3369              }3321              }
3370              container level-1-2 {3322              container level-1-2 {
3371                presence "Indicates a level-1-2 node is configured.";3323                presence "Indicates a level-1-2 node is configured.";
3372                description3324                description
3373                  "IS-IS level-1 and level-2 routes";3325                  "IS-IS level-1 and level-2 routes";
3374              }3326              }
3375              container level-2 {3327              container level-2 {
3376                presence "Indicates a level-2 node is configured.";3328                presence "Indicates a level-2 node is configured.";
3377                description3329                description
3378                  "IS-IS level-2 routes only";3330                  "IS-IS level-2 routes only";
3379              }3331              }
3380              container metric {3332              container metric {
3381                description3333                description
3382                  "Metric for redistributed routes";3334                  "Metric for redistributed routes";
3383                leaf default-metric {3335                leaf default-metric {
3384                  type uint32 {3336                  type uint32 {
3385                    range "0..16777214" {3337                    range "0..16777214" {
3386                      description3338                      description
3387                        "OSPFv3 default metric";3339                        "OSPFv3 default metric";
3388                    }3340                    }
3389                  }3341                  }
3390                  description3342                  description
3391                    "OSPFv3 default metric";3343                    "OSPFv3 default metric";
3392                }3344                }
3393                container use-rib-metric {3345                container use-rib-metric {
3394                  presence "Indicates a use-rib-metric node is configured.";3346                  presence "Indicates a use-rib-metric node is configured.";
3395                  description3347                  description
3396                    "Use metric from RIB";3348                    "Use metric from RIB";
3397                }3349                }
3398              }3350              }
3399              leaf metric-type {3351              leaf metric-type {
3400                type enumeration {3352                type enumeration {
3401                  enum "1" {3353                  enum "1" {
3402                    value 1;3354                    value 1;
3403                    description3355                    description
3404                      "Set OSPFv3 External Type 1 metrics";3356                      "Set OSPFv3 External Type 1 metrics";
3405                  }3357                  }
3406                  enum "2" {3358                  enum "2" {
3407                    value 2;3359                    value 2;
3408                    description3360                    description
3409                      "Set OSPFv3 External Type 2 metrics";3361                      "Set OSPFv3 External Type 2 metrics";
3410                  }3362                  }
3411                }3363                }
3412                description3364                description
3413                  "OSPFv3 exterior metric type for redistributed routes";3365                  "OSPFv3 exterior metric type for redistributed routes";
3414              }3366              }
3415              leaf tag {3367              leaf tag {
3416                type uint32 {3368                type uint32 {
3417                  range "0..4294967295" {3369                  range "0..4294967295" {
3418                    description3370                    description
3419                      "32-bit tag value";3371                      "32-bit tag value";
3420                  }3372                  }
3421                }3373                }
3422                description3374                description
3423                  "Set tag for routes redistributed into OSPFv3";3375                  "Set tag for routes redistributed into OSPFv3";
3424              }3376              }
3425              leaf route-policy {3377              leaf route-policy {
3426                type xr:Route-policy-name;3378                type xr:Route-policy-name;
3427                description3379                description
3428                  "Apply route-policy to redistribution";3380                  "Apply route-policy to redistribution";
3429              }3381              }
3430            }3382            }
3431            container applications {3383            container applications {
3432              description3384              description
3433                "Application routes";3385                "Application routes";
3434              list application {3386              list application {
3435                key "application-name";3387                key "application-name";
3436                description3388                description
3437                  "Application routes";3389                  "Application routes";
3438                leaf application-name {3390                leaf application-name {
3439                  type string {3391                  type string {
3440                    length "1..1024" {3392                    length "1..1024" {
3441                      description3393                      description
3442                        "OnePK Application name";3394                        "OnePK Application name";
3443                    }3395                    }
3444                  }3396                  }
3445                  description3397                  description
3446                    "Application routes";3398                    "Application routes";
3447                }3399                }
3448                container metric {3400                container metric {
3449                  description3401                  description
3450                    "Metric for redistributed routes";3402                    "Metric for redistributed routes";
3451                  leaf default-metric {3403                  leaf default-metric {
3452                    type uint32 {3404                    type uint32 {
3453                      range "0..16777214" {3405                      range "0..16777214" {
3454                        description3406                        description
3455                          "OSPFv3 default metric";3407                          "OSPFv3 default metric";
3456                      }3408                      }
3457                    }3409                    }
3458                    description3410                    description
3459                      "OSPFv3 default metric";3411                      "OSPFv3 default metric";
3460                  }3412                  }
3461                  container use-rib-metric {3413                  container use-rib-metric {
3462                    presence "Indicates a use-rib-metric node is configured.";3414                    presence "Indicates a use-rib-metric node is configured.";
3463                    description3415                    description
3464                      "Use metric from RIB";3416                      "Use metric from RIB";
3465                  }3417                  }
3466                }3418                }
3467                leaf metric-type {3419                leaf metric-type {
3468                  type enumeration {3420                  type enumeration {
3469                    enum "1" {3421                    enum "1" {
3470                      value 1;3422                      value 1;
3471                      description3423                      description
3472                        "Set OSPFv3 External Type 1 metrics";3424                        "Set OSPFv3 External Type 1 metrics";
3473                    }3425                    }
3474                    enum "2" {3426                    enum "2" {
3475                      value 2;3427                      value 2;
3476                      description3428                      description
3477                        "Set OSPFv3 External Type 2 metrics";3429                        "Set OSPFv3 External Type 2 metrics";
3478                    }3430                    }
3479                  }3431                  }
3480                  description3432                  description
3481                    "OSPFv3 exterior metric type for redistributed routes";3433                    "OSPFv3 exterior metric type for redistributed routes";
3482                }3434                }
3483                leaf tag {3435                leaf tag {
3484                  type uint32 {3436                  type uint32 {
3485                    range "0..4294967295" {3437                    range "0..4294967295" {
3486                      description3438                      description
3487                        "32-bit tag value";3439                        "32-bit tag value";
3488                    }3440                    }
3489                  }3441                  }
3490                  description3442                  description
3491                    "Set tag for routes redistributed into OSPFv3";3443                    "Set tag for routes redistributed into OSPFv3";
3492                }3444                }
3493                leaf route-policy {3445                leaf route-policy {
3494                  type xr:Route-policy-name;3446                  type xr:Route-policy-name;
3495                  description3447                  description
3496                    "Apply route-policy to redistribution";3448                    "Apply route-policy to redistribution";
3497                }3449                }
3498              }3450              }
3499            }3451            }
3500            list ospfv3 {3452            list ospfv3 {
3501              key "process-name";3453              key "process-name";
3502              description3454              description
3503                "OSPFv3 routes";3455                "OSPFv3 routes";
3504              leaf process-name {3456              leaf process-name {
3505                type string {3457                type string {
3506                  length "1..1024" {3458                  length "1..1024" {
3507                    description3459                    description
3508                      "OSPFv3 process name";3460                      "OSPFv3 process name";
3509                  }3461                  }
3510                }3462                }
3511                description3463                description
3512                  "OSPFv3 routes";3464                  "OSPFv3 routes";
3513              }3465              }
3514              container match {3466              container match {
3515                description3467                description
3516                  "Redistribution of OSPFv3 routes";3468                  "Redistribution of OSPFv3 routes";
3517                container internal {3469                container internal {
3518                  presence "Indicates a internal node is configured.";3470                  presence "Indicates a internal node is configured.";
3519                  description3471                  description
3520                    "Redistribute OSPFv3 internal routes";3472                    "Redistribute OSPFv3 internal routes";
3521                }3473                }
3522                container external {3474                container external {
3523                  presence "Indicates a external node is configured.";3475                  presence "Indicates a external node is configured.";
3524                  description3476                  description
3525                    "Redistribute OSPFv3 external routes";3477                    "Redistribute OSPFv3 external routes";
3526                  container one {3478                  container one {
3527                    presence "Indicates a one node is configured.";3479                    presence "Indicates a one node is configured.";
3528                    description3480                    description
3529                      "Redistribute external type 1 routes";3481                      "Redistribute external type 1 routes";
3530                  }3482                  }
3531                  container two {3483                  container two {
3532                    presence "Indicates a two node is configured.";3484                    presence "Indicates a two node is configured.";
3533                    description3485                    description
3534                      "Redistribute external type 2 routes";3486                      "Redistribute external type 2 routes";
3535                  }3487                  }
3536                }3488                }
3537                container nssa-external {3489                container nssa-external {
3538                  presence "Indicates a nssa-external node is configured.";3490                  presence "Indicates a nssa-external node is configured.";
3539                  description3491                  description
3540                    "Redistribute OSPFv3 NSSA external routes";3492                    "Redistribute OSPFv3 NSSA external routes";
3541                  container one {3493                  container one {
3542                    presence "Indicates a one node is configured.";3494                    presence "Indicates a one node is configured.";
3543                    description3495                    description
3544                      "Redistribute NSSA external type 1 routes";3496                      "Redistribute NSSA external type 1 routes";
3545                  }3497                  }
3546                  container two {3498                  container two {
3547                    presence "Indicates a two node is configured.";3499                    presence "Indicates a two node is configured.";
3548                    description3500                    description
3549                      "Redistribute NSSA external type 2 routes";3501                      "Redistribute NSSA external type 2 routes";
3550                  }3502                  }
3551                }3503                }
3552              }3504              }
3553              container metric {3505              container metric {
3554                description3506                description
3555                  "Metric for redistributed routes";3507                  "Metric for redistributed routes";
3556                leaf default-metric {3508                leaf default-metric {
3557                  type uint32 {3509                  type uint32 {
3558                    range "0..16777214" {3510                    range "0..16777214" {
3559                      description3511                      description
3560                        "OSPFv3 default metric";3512                        "OSPFv3 default metric";
3561                    }3513                    }
3562                  }3514                  }
3563                  description3515                  description
3564                    "OSPFv3 default metric";3516                    "OSPFv3 default metric";
3565                }3517                }
3566                container use-rib-metric {3518                container use-rib-metric {
3567                  presence "Indicates a use-rib-metric node is configured.";3519                  presence "Indicates a use-rib-metric node is configured.";
3568                  description3520                  description
3569                    "Use metric from RIB";3521                    "Use metric from RIB";
3570                }3522                }
3571              }3523              }
3572              leaf metric-type {3524              leaf metric-type {
3573                type enumeration {3525                type enumeration {
3574                  enum "1" {3526                  enum "1" {
3575                    value 1;3527                    value 1;
3576                    description3528                    description
3577                      "Set OSPFv3 External Type 1 metrics";3529                      "Set OSPFv3 External Type 1 metrics";
3578                  }3530                  }
3579                  enum "2" {3531                  enum "2" {
3580                    value 2;3532                    value 2;
3581                    description3533                    description
3582                      "Set OSPFv3 External Type 2 metrics";3534                      "Set OSPFv3 External Type 2 metrics";
3583                  }3535                  }
3584                }3536                }
3585                description3537                description
3586                  "OSPFv3 exterior metric type for redistributed routes";3538                  "OSPFv3 exterior metric type for redistributed routes";
3587              }3539              }
3588              leaf tag {3540              leaf tag {
3589                type uint32 {3541                type uint32 {
3590                  range "0..4294967295" {3542                  range "0..4294967295" {
3591                    description3543                    description
3592                      "32-bit tag value";3544                      "32-bit tag value";
3593                  }3545                  }
3594                }3546                }
3595                description3547                description
3596                  "Set tag for routes redistributed into OSPFv3";3548                  "Set tag for routes redistributed into OSPFv3";
3597              }3549              }
3598              leaf route-policy {3550              leaf route-policy {
3599                type xr:Route-policy-name;3551                type xr:Route-policy-name;
3600                description3552                description
3601                  "Apply route-policy to redistribution";3553                  "Apply route-policy to redistribution";
3602              }3554              }
3603            }3555            }
3604          }3556          }
3605          leaf router-id {3557          leaf router-id {
3606            type inet:ipv4-address-no-zone;3558            type inet:ipv4-address-no-zone;
3607            description3559            description
3608              "Specify the router-id for this OSPFv3 process";3560              "Specify the router-id for this OSPFv3 process";
3609          }3561          }
3610          container spf {3562          container spf {
3611            description3563            description
3612              "SPF configuration";3564              "SPF configuration";
3613            container prefix-priority {3565            container prefix-priority {
3614              description3566              description
3615                "Configure SPF prefix priority route policy";3567                "Configure SPF prefix priority route policy";
3616              leaf route-policy {3568              leaf route-policy {
3617                type xr:Route-policy-name;3569                type xr:Route-policy-name;
3618                description3570                description
3619                  "Specify the route-policy to prioritize route install";3571                  "Specify the route-policy to prioritize route install";
3620              }3572              }
3621              container disable {3573              container disable {
3622                presence "Indicates a disable node is configured.";3574                presence "Indicates a disable node is configured.";
3623                description3575                description
3624                  "Disable SPF prefix priority";3576                  "Disable SPF prefix priority";
3625              }3577              }
3626            }3578            }
3627          }3579          }
3628          container stub-router {3580          container stub-router {
3629            description3581            description
3630              "Enter stub router configuration submode";3582              "Enter stub router configuration submode";
3631            container router-lsa {3583            container router-lsa {
3632              description3584              description
3633                "Modify self originated router LSAs";3585                "Modify self originated router LSAs";
3634              container r-bit {3586              container r-bit {
3635                presence "Indicates a r-bit node is configured.";3587                presence "Indicates a r-bit node is configured.";
3636                description3588                description
3637                  "advertise LSAs with R-bit cleared";3589                  "advertise LSAs with R-bit cleared";
3638                container always {3590                container always {
3639                  presence "Indicates a always node is configured.";3591                  presence "Indicates a always node is configured.";
3640                  description3592                  description
3641                    "Force ospfv3 stub router mode unconditionally";3593                    "Force ospfv3 stub router mode unconditionally";
3642                }3594                }
3643                leaf on-proc-restart {3595                leaf on-proc-restart {
3644                  type uint32 {3596                  type uint32 {
3645                    range "5..86400" {3597                    range "5..86400" {
3646                      description3598                      description
3647                        "Time in seconds to stay in stub router mode";3599                        "Time in seconds to stay in stub router mode";
3648                    }3600                    }
3649                  }3601                  }
3650                  description3602                  description
3651                    "Enter stub router mode on ospfv3 process restart";3603                    "Enter stub router mode on ospfv3 process restart";
3652                }3604                }
3653                leaf on-proc-migration {3605                leaf on-proc-migration {
3654                  type uint32 {3606                  type uint32 {
3655                    range "5..86400" {3607                    range "5..86400" {
3656                      description3608                      description
3657                        "Time in seconds to stay in stub router mode";3609                        "Time in seconds to stay in stub router mode";
3658                    }3610                    }
3659                  }3611                  }
3660                  description3612                  description
3661                    "Enter stub router mode on ospfv3 process migration";3613                    "Enter stub router mode on ospfv3 process migration";
3662                }3614                }
3663                container on-startup {3615                container on-startup {
3664                  description3616                  description
3665                    "Enter stub router mode on startup";3617                    "Enter stub router mode on startup";
3666                  container wait-for-bgp {3618                  container wait-for-bgp {
3667                    must "not(../stay-in-time)";3619                    must "not(../stay-in-time)";
3668                    presence "Indicates a wait-for-bgp node is configured.";3620                    presence "Indicates a wait-for-bgp node is configured.";
3669                    description3621                    description
3670                      "Exit stub router mode when BGP converges";3622                      "Exit stub router mode when BGP converges";
3671                  }3623                  }
3672                  leaf stay-in-time {3624                  leaf stay-in-time {
3673                    type uint32 {3625                    type uint32 {
3674                      range "5..86400" {3626                      range "5..86400" {
3675                        description3627                        description
3676                          "Time in seconds to stay in stub router mode";3628                          "Time in seconds to stay in stub router mode";
3677                      }3629                      }
3678                    }3630                    }
3679                    must "not(../wait-for-bgp)";3631                    must "not(../wait-for-bgp)";
3680                    description3632                    description
3681                      "Time in seconds to stay in stub router mode";3633                      "Time in seconds to stay in stub router mode";
3682                  }3634                  }
3683                }3635                }
3684                leaf on-switchover {3636                leaf on-switchover {
3685                  type uint32 {3637                  type uint32 {
3686                    range "5..86400" {3638                    range "5..86400" {
3687                      description3639                      description
3688                        "Time in seconds to stay in stub router mode";3640                        "Time in seconds to stay in stub router mode";
3689                    }3641                    }
3690                  }3642                  }
3691                  description3643                  description
3692                    "Enter stub router mode on RP switchover";3644                    "Enter stub router mode on RP switchover";
3693                }3645                }
3694              }3646              }
3695              container v6-bit {3647              container v6-bit {
3696                presence "Indicates a v6-bit node is configured.";3648                presence "Indicates a v6-bit node is configured.";
3697                description3649                description
3698                  "advertise LSAs with V6-bit cleared";3650                  "advertise LSAs with V6-bit cleared";
3699                container always {3651                container always {
3700                  presence "Indicates a always node is configured.";3652                  presence "Indicates a always node is configured.";
3701                  description3653                  description
3702                    "Force ospfv3 stub router mode unconditionally";3654                    "Force ospfv3 stub router mode unconditionally";
3703                }3655                }
3704                leaf on-proc-restart {3656                leaf on-proc-restart {
3705                  type uint32 {3657                  type uint32 {
3706                    range "5..86400" {3658                    range "5..86400" {
3707                      description3659                      description
3708                        "Time in seconds to stay in stub router mode";3660                        "Time in seconds to stay in stub router mode";
3709                    }3661                    }
3710                  }3662                  }
3711                  description3663                  description
3712                    "Enter stub router mode on ospfv3 process restart";3664                    "Enter stub router mode on ospfv3 process restart";
3713                }3665                }
3714                leaf on-proc-migration {3666                leaf on-proc-migration {
3715                  type uint32 {3667                  type uint32 {
3716                    range "5..86400" {3668                    range "5..86400" {
3717                      description3669                      description
3718                        "Time in seconds to stay in stub router mode";3670                        "Time in seconds to stay in stub router mode";
3719                    }3671                    }
3720                  }3672                  }
3721                  description3673                  description
3722                    "Enter stub router mode on ospfv3 process migration";3674                    "Enter stub router mode on ospfv3 process migration";
3723                }3675                }
3724                container on-startup {3676                container on-startup {
3725                  description3677                  description
3726                    "Enter stub router mode on startup";3678                    "Enter stub router mode on startup";
3727                  container wait-for-bgp {3679                  container wait-for-bgp {
3728                    must "not(../stay-in-time)";3680                    must "not(../stay-in-time)";
3729                    presence "Indicates a wait-for-bgp node is configured.";3681                    presence "Indicates a wait-for-bgp node is configured.";
3730                    description3682                    description
3731                      "Exit stub router mode when BGP converges";3683                      "Exit stub router mode when BGP converges";
3732                  }3684                  }
3733                  leaf stay-in-time {3685                  leaf stay-in-time {
3734                    type uint32 {3686                    type uint32 {
3735                      range "5..86400" {3687                      range "5..86400" {
3736                        description3688                        description
3737                          "Time in seconds to stay in stub router mode";3689                          "Time in seconds to stay in stub router mode";
3738                      }3690                      }
3739                    }3691                    }
3740                    must "not(../wait-for-bgp)";3692                    must "not(../wait-for-bgp)";
3741                    description3693                    description
3742                      "Time in seconds to stay in stub router mode";3694                      "Time in seconds to stay in stub router mode";
3743                  }3695                  }
3744                }3696                }
3745                leaf on-switchover {3697                leaf on-switchover {
3746                  type uint32 {3698                  type uint32 {
3747                    range "5..86400" {3699                    range "5..86400" {
3748                      description3700                      description
3749                        "Time in seconds to stay in stub router mode";3701                        "Time in seconds to stay in stub router mode";
3750                    }3702                    }
3751                  }3703                  }
3752                  description3704                  description
3753                    "Enter stub router mode on RP switchover";3705                    "Enter stub router mode on RP switchover";
3754                }3706                }
3755              }3707              }
3756              container max-metric {3708              container max-metric {
3757                presence "Indicates a max-metric node is configured.";3709                presence "Indicates a max-metric node is configured.";
3758                description3710                description
3759                  "advertise LSAs with maximum metric";3711                  "advertise LSAs with maximum metric";
3760                container always {3712                container always {
3761                  presence "Indicates a always node is configured.";3713                  presence "Indicates a always node is configured.";
3762                  description3714                  description
3763                    "Force ospfv3 stub router mode unconditionally";3715                    "Force ospfv3 stub router mode unconditionally";
3764                }3716                }
3765                leaf on-proc-restart {3717                leaf on-proc-restart {
3766                  type uint32 {3718                  type uint32 {
3767                    range "5..86400" {3719                    range "5..86400" {
3768                      description3720                      description
3769                        "Time in seconds to stay in stub router mode";3721                        "Time in seconds to stay in stub router mode";
3770                    }3722                    }
3771                  }3723                  }
3772                  description3724                  description
3773                    "Enter stub router mode on ospfv3 process restart";3725                    "Enter stub router mode on ospfv3 process restart";
3774                }3726                }
3775                leaf on-proc-migration {3727                leaf on-proc-migration {
3776                  type uint32 {3728                  type uint32 {
3777                    range "5..86400" {3729                    range "5..86400" {
3778                      description3730                      description
3779                        "Time in seconds to stay in stub router mode";3731                        "Time in seconds to stay in stub router mode";
3780                    }3732                    }
3781                  }3733                  }
3782                  description3734                  description
3783                    "Enter stub router mode on ospfv3 process migration";3735                    "Enter stub router mode on ospfv3 process migration";
3784                }3736                }
3785                container on-startup {3737                container on-startup {
3786                  description3738                  description
3787                    "Enter stub router mode on startup";3739                    "Enter stub router mode on startup";
3788                  container wait-for-bgp {3740                  container wait-for-bgp {
3789                    must "not(../stay-in-time)";3741                    must "not(../stay-in-time)";
3790                    presence "Indicates a wait-for-bgp node is configured.";3742                    presence "Indicates a wait-for-bgp node is configured.";
3791                    description3743                    description
3792                      "Exit stub router mode when BGP converges";3744                      "Exit stub router mode when BGP converges";
3793                  }3745                  }
3794                  leaf stay-in-time {3746                  leaf stay-in-time {
3795                    type uint32 {3747                    type uint32 {
3796                      range "5..86400" {3748                      range "5..86400" {
3797                        description3749                        description
3798                          "Time in seconds to stay in stub router mode";3750                          "Time in seconds to stay in stub router mode";
3799                      }3751                      }
3800                    }3752                    }
3801                    must "not(../wait-for-bgp)";3753                    must "not(../wait-for-bgp)";
3802                    description3754                    description
3803                      "Time in seconds to stay in stub router mode";3755                      "Time in seconds to stay in stub router mode";
3804                  }3756                  }
3805                }3757                }
3806                leaf on-switchover {3758                leaf on-switchover {
3807                  type uint32 {3759                  type uint32 {
3808                    range "5..86400" {3760                    range "5..86400" {
3809                      description3761                      description
3810                        "Time in seconds to stay in stub router mode";3762                        "Time in seconds to stay in stub router mode";
3811                    }3763                    }
3812                  }3764                  }
3813                  description3765                  description
3814                    "Enter stub router mode on RP switchover";3766                    "Enter stub router mode on RP switchover";
3815                }3767                }
3816                leaf external-lsa {3768                leaf external-lsa {
3817                  type union {3769                  type union {
3818                    type uint32 {3770                    type uint32 {
3819                      range "16711680" {3771                      range "16711680" {
3820                        description3772                        description
3821                          "Use default metric";3773                          "Use default metric";
3822                      }3774                      }
3823                    }3775                    }
3824                    type uint32 {3776                    type uint32 {
3825                      range "1..16777214" {3777                      range "1..16777214" {
3826                        description3778                        description
3827                          "Metric to use while in stub router mode";3779                          "Metric to use while in stub router mode";
3828                      }3780                      }
3829                    }3781                    }
3830                  }3782                  }
3831                  description3783                  description
3832                    "Override External LSA metric in stub router mode";3784                    "Override External LSA metric in stub router mode";
3833                }3785                }
3834                leaf summary-lsa {3786                leaf summary-lsa {
3835                  type union {3787                  type union {
3836                    type uint32 {3788                    type uint32 {
3837                      range "16711680" {3789                      range "16711680" {
3838                        description3790                        description
3839                          "Use default metric";3791                          "Use default metric";
3840                      }3792                      }
3841                    }3793                    }
3842                    type uint32 {3794                    type uint32 {
3843                      range "1..16777214" {3795                      range "1..16777214" {
3844                        description3796                        description
3845                          "Metric to use while in stub router mode";3797                          "Metric to use while in stub router mode";
3846                      }3798                      }
3847                    }3799                    }
3848                  }3800                  }
3849                  description3801                  description
3850                    "Override Summary LSA metric in stub router mode";3802                    "Override Summary LSA metric in stub router mode";
3851                }3803                }
3852                container include-stub {3804                container include-stub {
3853                  presence "Indicates a include-stub node is configured.";3805                  presence "Indicates a include-stub node is configured.";
3854                  description3806                  description
3855                    "Set maximum metric for stub links in stub router mode";3807                    "Set maximum metric for stub links in stub router mode";
3856                }3808                }
3857              }3809              }
3858            }3810            }
3859          }3811          }
3860          container summary-prefixes {3812          container summary-prefixes {
3861            description3813            description
3862              "Summarize redistributed routes matching prefix/length";3814              "Summarize redistributed routes matching prefix/length";
3863            list summary-prefix {3815            list summary-prefix {
3864              key "prefix prefix-length";3816              key "prefix prefix-length";
3865              description3817              description
3866                "Summarize redistributed routes matching prefix/length";3818                "Summarize redistributed routes matching prefix/length";
3867              leaf prefix {3819              leaf prefix {
3868                type inet:ipv6-address-no-zone;3820                type inet:ipv6-address-no-zone;
3869                description3821                description
3870                  "Summarize redistributed routes matching prefix/length";3822                  "Summarize redistributed routes matching prefix/length";
3871              }3823              }
3872              leaf prefix-length {3824              leaf prefix-length {
3873                type xr:Ipv6-prefix-length;3825                type xr:Ipv6-prefix-length;
3874                description3826                description
3875                  "Summarize redistributed routes matching prefix/length";3827                  "Summarize redistributed routes matching prefix/length";
3876              }3828              }
3877              container not-advertise {3829              container not-advertise {
3878                presence "Indicates a not-advertise node is configured.";3830                presence "Indicates a not-advertise node is configured.";
3879                description3831                description
3880                  "Suppress routes matching prefix/length";3832                  "Suppress routes matching prefix/length";
3881              }3833              }
3882              leaf tag {3834              leaf tag {
3883                type uint32 {3835                type uint32 {
3884                  range "1..4294967295" {3836                  range "1..4294967295" {
3885                    description3837                    description
3886                      "32-bit tag value";3838                      "32-bit tag value";
3887                  }3839                  }
3888                }3840                }
3889                description3841                description
3890                  "32-bit tag value";3842                  "32-bit tag value";
3891              }3843              }
3892            }3844            }
3893          }3845          }
3894          container timers {3846          container timers {
3895            description3847            description
3896              "Adjust routing timers";3848              "Adjust routing timers";
3897            container lsa {3849            container lsa {
3898              description3850              description
3899                "LSA timers";3851                "LSA timers";
3900              leaf arrival {3852              leaf arrival {
3901                type uint32 {3853                type uint32 {
3902                  range "0..60000" {3854                  range "0..60000" {
3903                    description3855                    description
3904                      "The minimum interval in milliseconds between accepting the same LSA";3856                      "The minimum interval in milliseconds between accepting the same LSA";
3905                  }3857                  }
3906                }3858                }
3907                description3859                description
3908                  "LSA arrival timer";3860                  "LSA arrival timer";
3909              }3861              }
3910            }3862            }
3911            container pacing {3863            container pacing {
3912              description3864              description
3913                "Pacing timers";3865                "Pacing timers";
3914              leaf flood {3866              leaf flood {
3915                type uint32 {3867                type uint32 {
3916                  range "5..100" {3868                  range "5..100" {
3917                    description3869                    description
3918                      "The minimum interval in msec to pace limit flooding on interface";3870                      "The minimum interval in msec to pace limit flooding on interface";
3919                  }3871                  }
3920                }3872                }
3921                description3873                description
3922                  "Flood pacing timer";3874                  "Flood pacing timer";
3923              }3875              }
3924              leaf lsa-group {3876              leaf lsa-group {
3925                type uint32 {3877                type uint32 {
3926                  range "10..1800" {3878                  range "10..1800" {
3927                    description3879                    description
3928                      "Interval in seconds at which LSAs are grouped and refreshed, checksummed, or aged";3880                      "Interval in seconds at which LSAs are grouped and refreshed, checksummed, or aged";
3929                  }3881                  }
3930                }3882                }
3931                description3883                description
3932                  "LSA group pacing timer";3884                  "LSA group pacing timer";
3933              }3885              }
3934              leaf retransmission {3886              leaf retransmission {
3935                type uint32 {3887                type uint32 {
3936                  range "5..100" {3888                  range "5..100" {
3937                    description3889                    description
3938                      "The minimum interval in msec between neighbor retransmissions";3890                      "The minimum interval in msec between neighbor retransmissions";
3939                  }3891                  }
3940                }3892                }
3941                description3893                description
3942                  "Retransmission pacing timer";3894                  "Retransmission pacing timer";
3943              }3895              }
3944            }3896            }
3945            container throttle {3897            container throttle {
3946              description3898              description
3947                "Throttle timers";3899                "Throttle timers";
3948              container lsa {3900              container lsa {
3949                description3901                description
3950                  "LSA throttle timers";3902                  "LSA throttle timers";
3951                container all {3903                container all {
3952                  presence "Indicates a all node is configured.";3904                  presence "Indicates a all node is configured.";
3953                  description3905                  description
3954                    "For all types of OSPF LSAs";3906                    "For all types of OSPF LSAs";
3955                  leaf initial-delay {3907                  leaf initial-delay {
3956                    type uint32 {3908                    type uint32 {
3957                      range "0..600000" {3909                      range "0..600000" {
3958                        description3910                        description
3959                          "Delay to generate first occurrence of LSA in milliseconds";3911                          "Delay to generate first occurrence of LSA in milliseconds";
3960                      }3912                      }
3961                    }3913                    }
3962                    mandatory true;3914                    mandatory true;
3963                    description3915                    description
3964                      "For all types of OSPF LSAs";3916                      "For all types of OSPF LSAs";
3965                  }3917                  }
3966                  leaf minimum-delay {3918                  leaf minimum-delay {
3967                    type uint32 {3919                    type uint32 {
3968                      range "1..600000" {3920                      range "1..600000" {
3969                        description3921                        description
3970                          "Minimum delay between originating the same LSA in milliseconds";3922                          "Minimum delay between originating the same LSA in milliseconds";
3971                      }3923                      }
3972                    }3924                    }
3973                    mandatory true;3925                    mandatory true;
3974                    description3926                    description
3975                      "Minimum delay between originating the same LSA in milliseconds";3927                      "Minimum delay between originating the same LSA in milliseconds";
3976                  }3928                  }
3977                  leaf maximum-delay {3929                  leaf maximum-delay {
3978                    type uint32 {3930                    type uint32 {
3979                      range "1..600000" {3931                      range "1..600000" {
3980                        description3932                        description
3981                          "Maximum delay between originating the same LSA in milliseconds";3933                          "Maximum delay between originating the same LSA in milliseconds";
3982                      }3934                      }
3983                    }3935                    }
3984                    mandatory true;3936                    mandatory true;
3985                    description3937                    description
3986                      "Maximum delay between originating the same LSA in milliseconds";3938                      "Maximum delay between originating the same LSA in milliseconds";
3987                  }3939                  }
3988                }3940                }
3989              }3941              }
3990              container spf {3942              container spf {
3991                presence "Indicates a spf node is configured.";3943                presence "Indicates a spf node is configured.";
3992                description3944                description
3993                  "SPF throttle timers";3945                  "SPF throttle timers";
3994                leaf initial-delay {3946                leaf initial-delay {
3995                  type uint32 {3947                  type uint32 {
3996                    range "1..600000" {3948                    range "1..600000" {
3997                      description3949                      description
3998                        "Initial delay between receiving a change and starting SPF in ms";3950                        "Initial delay between receiving a change and starting SPF in ms";
3999                    }3951                    }
4000                  }3952                  }
4001                  mandatory true;3953                  mandatory true;
4002                  description3954                  description
4003                    "SPF throttle timers";3955                    "SPF throttle timers";
4004                }3956                }
4005                leaf minimum-hold-time {3957                leaf minimum-hold-time {
4006                  type uint32 {3958                  type uint32 {
4007                    range "1..600000" {3959                    range "1..600000" {
4008                      description3960                      description
4009                        "Minimum hold time between consecutive SPF calculations in ms";3961                        "Minimum hold time between consecutive SPF calculations in ms";
4010                    }3962                    }
4011                  }3963                  }
4012                  mandatory true;3964                  mandatory true;
4013                  description3965                  description
4014                    "Minimum hold time between consecutive SPF calculations in ms";3966                    "Minimum hold time between consecutive SPF calculations in ms";
4015                }3967                }
4016                leaf maximum-wait-time {3968                leaf maximum-wait-time {
4017                  type uint32 {3969                  type uint32 {
4018                    range "1..600000" {3970                    range "1..600000" {
4019                      description3971                      description
4020                        "Maximum wait time between consecutive SPF calculations in ms";3972                        "Maximum wait time between consecutive SPF calculations in ms";
4021                    }3973                    }
4022                  }3974                  }
4023                  mandatory true;3975                  mandatory true;
4024                  description3976                  description
4025                    "Maximum wait time between consecutive SPF calculations in ms";3977                    "Maximum wait time between consecutive SPF calculations in ms";
4026                }3978                }
4027              }3979              }
4028            }3980            }
4029          }3981          }
4030          container snmp {3982          container snmp {
4031            description3983            description
4032              "SNMP configuration";3984              "SNMP configuration";
4033            leaf context {3985            leaf context {
4034              type string {3986              type string {
4035                length "1..32" {3987                length "1..32" {
4036                  description3988                  description
4037                    "SNMP context name";3989                    "SNMP context name";
4038                }3990                }
4039              }3991              }
4040              description3992              description
4041                "Specified SNMP context for OSPFv3 instance";3993                "Specified SNMP context for OSPFv3 instance";
4042            }3994            }
4043            container trap {3995            container trap {
4044              presence "Indicates a trap node is configured.";3996              presence "Indicates a trap node is configured.";
4045              description3997              description
4046                "Enable SNMP trap for OSPFv3 instance";3998                "Enable SNMP trap for OSPFv3 instance";
4047              leaf rate-limit {3999              leaf rate-limit {
4048                type uint32 {4000                type uint32 {
4049                  range "2..60" {4001                  range "2..60" {
4050                    description4002                    description
4051                      "Trap rate limit sliding window size";4003                      "Trap rate limit sliding window size";
4052                  }4004                  }
4053                }4005                }
4054                mandatory true;4006                mandatory true;
4055                description4007                description
4056                  "Adjust trap rate-limit parameters";4008                  "Adjust trap rate-limit parameters";
4057              }4009              }
4058              leaf max-traps {4010              leaf max-traps {
4059                type uint32 {4011                type uint32 {
4060                  range "0..300" {4012                  range "0..300" {
4061                    description4013                    description
4062                      "Max number of traps sent in window time";4014                      "Max number of traps sent in window time";
4063                  }4015                  }
4064                }4016                }
4065                mandatory true;4017                mandatory true;
4066                description4018                description
4067                  "Max number of traps sent in window time";4019                  "Max number of traps sent in window time";
4068              }4020              }
4069            }4021            }
4070          }4022          }
4071          container vrfs {4023          container vrfs {
4072            description4024            description
4073              "Enter the OSPFv3 vrf configuration submode";4025              "Enter the OSPFv3 vrf configuration submode";
4074            list vrf {4026            list vrf {
4075              key "vrf-name";4027              key "vrf-name";
4076              description4028              description
4077                "Name for this OSPFV3 vrf";4029                "Name for this OSPFV3 vrf";
4078              leaf vrf-name {4030              leaf vrf-name {
4079                type xr:Cisco-ios-xr-string {4031                type xr:Cisco-ios-xr-string {
4080                  length "1..32" {4032                  length "1..32" {
4081                    description4033                    description
4082                      "Name for this OSPFV3 vrf (must not be 'default')";4034                      "Name for this OSPFV3 vrf (must not be 'default')";
4083                  }4035                  }
4084                }4036                }
4085                description4037                description
4086                  "Name for this OSPFV3 vrf";4038                  "Name for this OSPFV3 vrf";
4087              }4039              }
4088              container domain-id {4040              container domain-id {
4089                description4041                description
4090                  "Specify domain id";4042                  "Specify domain id";
4091                leaf type {4043                leaf type {
4092                  type enumeration {4044                  type enumeration {
4093                    enum "0005" {4045                    enum "0005" {
4094                      value 5;4046                      value 5;
4095                      description4047                      description
4096                        " Type 0x0005";4048                        " Type 0x0005";
4097                    }4049                    }
4098                    enum "0105" {4050                    enum "0105" {
4099                      value 261;4051                      value 261;
4100                      description4052                      description
4101                        " Type 0x0105";4053                        " Type 0x0105";
4102                    }4054                    }
4103                    enum "0205" {4055                    enum "0205" {
4104                      value 517;4056                      value 517;
4105                      description4057                      description
4106                        " Type 0x0205";4058                        " Type 0x0205";
4107                    }4059                    }
4108                  }4060                  }
4109                  description4061                  description
4110                    "Primary OSPF domain ID type in Hex format";4062                    "Primary OSPF domain ID type in Hex format";
4111                }4063                }
4112                leaf value {4064                leaf value {
4113                  type string {4065                  type string {
4114                    length "1..1024" {4066                    length "1..1024" {
4115                      description4067                      description
4116                        "OSPF domain ID ext. community value in Hex (6 octets)";4068                        "OSPF domain ID ext. community value in Hex (6 octets)";
4117                    }4069                    }
4118                  }4070                  }
4119                  description4071                  description
4120                    "OSPF domain ID value in Hex format";4072                    "OSPF domain ID value in Hex format";
4121                }4073                }
4122                container secondaries {4074                container secondaries {
4123                  description4075                  description
4124                    "OSPF secondary domain-id";4076                    "OSPF secondary domain-id";
4125                  list secondary {4077                  list secondary {
4126                    key "type value";4078                    key "type value";
4127                    description4079                    description
4128                      "OSPF secondary domain-id";4080                      "OSPF secondary domain-id";
4129                    leaf type {4081                    leaf type {
4130                      type enumeration {4082                      type enumeration {
4131                        enum "0005" {4083                        enum "0005" {
4132                          value 5;4084                          value 5;
4133                          description4085                          description
4134                            " Type 0x0005";4086                            " Type 0x0005";
4135                        }4087                        }
4136                        enum "0105" {4088                        enum "0105" {
4137                          value 261;4089                          value 261;
4138                          description4090                          description
4139                            " Type 0x0105";4091                            " Type 0x0105";
4140                        }4092                        }
4141                        enum "0205" {4093                        enum "0205" {
4142                          value 517;4094                          value 517;
4143                          description4095                          description
4144                            " Type 0x0205";4096                            " Type 0x0205";
4145                        }4097                        }
4146                      }4098                      }
4147                      description4099                      description
4148                        "OSPF domain ID type in Hex format";4100                        "OSPF domain ID type in Hex format";
4149                    }4101                    }
4150                    leaf value {4102                    leaf value {
4151                      type xr:Cisco-ios-xr-string {4103                      type xr:Cisco-ios-xr-string {
4152                        length "1..1024" {4104                        length "1..1024" {
4153                          description4105                          description
4154                            "OSPF domain ID ext. community value in Hex (6 octets)";4106                            "OSPF domain ID ext. community value in Hex (6 octets)";
4155                        }4107                        }
4156                      }4108                      }
4157                      description4109                      description
4158                        "OSPF domain ID value in Hex format";4110                        "OSPF domain ID value in Hex format";
4159                    }4111                    }
4160                  }4112                  }
4161                }4113                }
4162              }4114              }
4163              container capability {4115              container capability {
4164                description4116                description
4165                  "Enable specific OSPFv3 feature";4117                  "Enable specific OSPFv3 feature";
4166                container vrf-lite {4118                container vrf-lite {
4167                  presence "Indicates a vrf-lite node is configured.";4119                  presence "Indicates a vrf-lite node is configured.";
4168                  description4120                  description
4169                    "Enable VRF-lite support";4121                    "Enable VRF-lite support";
4170                }4122                }
4171                container type7 {4123                container type7 {
4172                  description4124                  description
4173                    "NSSA capability";4125                    "NSSA capability";
4174                  container prefer {4126                  container prefer {
4175                    presence "Indicates a prefer node is configured.";4127                    presence "Indicates a prefer node is configured.";
4176                    description4128                    description
4177                      "Prefer type7 externals over type5";4129                      "Prefer type7 externals over type5";
4178                  }4130                  }
4179                  container translate {4131                  container translate {
4180                    description4132                    description
4181                      "Translate type7 to type5";4133                      "Translate type7 to type5";
4182                    container zero-forward-addr {4134                    container zero-forward-addr {
4183                      presence "Indicates a zero-forward-addr node is configured.";4135                      presence "Indicates a zero-forward-addr node is configured.";
4184                      description4136                      description
4185                        "Translate Type 7 LSAs without forwarding address";4137                        "Translate Type 7 LSAs without forwarding address";
4186                    }4138                    }
4187                  }4139                  }
4188                }4140                }
4189                container lls {4141                container lls {
4190                  description4142                  description
4191                    "LLS capability";4143                    "LLS capability";
4192                  container disable {4144                  container disable {
4193                    presence "Indicates a disable node is configured.";4145                    presence "Indicates a disable node is configured.";
4194                    description4146                    description
4195                      "Disable LLS capability";4147                      "Disable LLS capability";
4196                  }4148                  }
4197                }4149                }
4198              }4150              }
4199              container areas {4151              container areas {
4200                description4152                description
4201                  "Enter the OSPFv3 area configuration submode";4153                  "Enter the OSPFv3 area configuration submode";
4202                list area {4154                list area {
4203                  key "area-id";4155                  key "area-id";
4204                  description4156                  description
4205                    "Enter the OSPFv3 area configuration submode";4157                    "Enter the OSPFv3 area configuration submode";
4206                  leaf area-id {4158                  leaf area-id {
4207                    type xr:Ospf-area-id;4159                    type xr:Ospf-area-id;
4208                    description4160                    description
4209                      "Enter the OSPFv3 area configuration submode";4161                      "Enter the OSPFv3 area configuration submode";
4210                  }4162                  }
4211                  leaf default-cost {4163                  leaf default-cost {
4212                    type uint32 {4164                    type uint32 {
4213                      range "0..16777215" {4165                      range "0..16777215" {
4214                        description4166                        description
4215                          "Stub's advertised external route metric";4167                          "Stub's advertised external route metric";
4216                      }4168                      }
4217                    }4169                    }
4218                    description4170                    description
4219                      "Set the summary default-cost of a NSSA/stub area";4171                      "Set the summary default-cost of a NSSA/stub area";
4220                  }4172                  }
4221                  container nssa {4173                  container nssa {
4222                    presence "Indicates a nssa node is configured.";4174                    presence "Indicates a nssa node is configured.";
4223                    description4175                    description
4224                      "Specify area as an NSSA area";4176                      "Specify area as an NSSA area";
4225                    container no-redistribution {4177                    container no-redistribution {
4226                      presence "Indicates a no-redistribution node is configured.";4178                      presence "Indicates a no-redistribution node is configured.";
4227                      description4179                      description
4228                        "No redistribution into this NSSA area";4180                        "No redistribution into this NSSA area";
4229                    }4181                    }
4230                    container default-information-originate {4182                    container default-information-originate {
4231                      presence "Indicates a default-information-originate node is configured.";4183                      presence "Indicates a default-information-originate node is configured.";
4232                      description4184                      description
4233                        "Originate Type 7 default into NSSA area";4185                        "Originate Type 7 default into NSSA area";
4234                      leaf metric {4186                      leaf metric {
4235                        type uint32 {4187                        type uint32 {
4236                          range "0..16777214" {4188                          range "0..16777214" {
4237                            description4189                            description
4238                              "OSPFv3 metric";4190                              "OSPFv3 metric";
4239                          }4191                          }
4240                        }4192                        }
4241                        description4193                        description
4242                          "OSPFv3 default metric";4194                          "OSPFv3 default metric";
4243                      }4195                      }
4244                      leaf metric-type {4196                      leaf metric-type {
4245                        type uint32 {4197                        type uint32 {
4246                          range "1..2" {4198                          range "1..2" {
4247                            description4199                            description
4248                              "OSPFv3 Link State type";4200                              "OSPFv3 Link State type";
4249                          }4201                          }
4250                        }4202                        }
4251                        description4203                        description
4252                          "OSPFv3 metric type for default routes";4204                          "OSPFv3 metric type for default routes";
4253                      }4205                      }
4254                    }4206                    }
4255                    container no-summary {4207                    container no-summary {
4256                      presence "Indicates a no-summary node is configured.";4208                      presence "Indicates a no-summary node is configured.";
4257                      description4209                      description
4258                        "Do not send summary LSA into NSSA";4210                        "Do not send summary LSA into NSSA";
4259                    }4211                    }
4260                  }4212                  }
4261                  container nssa-translate {4213                  container nssa-translate {
4262                    description4214                    description
4263                      "Translate NSSA LSA";4215                      "Translate NSSA LSA";
4264                    container type7 {4216                    container type7 {
4265                      description4217                      description
4266                        "Translate type 7 to type 5";4218                        "Translate type 7 to type 5";
4267                      container always {4219                      container always {
4268                        presence "Indicates a always node is configured.";4220                        presence "Indicates a always node is configured.";
4269                        description4221                        description
4270                          "Always translate NSSA LSAs on this ABR";4222                          "Always translate NSSA LSAs on this ABR";
4271                      }4223                      }
4272                    }4224                    }
4273                  }4225                  }
4274                  container ranges {4226                  container ranges {
4275                    description4227                    description
4276                      "Summarize inter-area routes matching prefix/length";4228                      "Summarize inter-area routes matching prefix/length";
4277                    list range {4229                    list range {
4278                      must "advertise or not-advertise";4230                      must "advertise or not-advertise";
4279                      key "prefix prefix-length";4231                      key "prefix prefix-length";
4280                      description4232                      description
4281                        "Summarize inter-area routes matching prefix/length";4233                        "Summarize inter-area routes matching prefix/length";
4282                      leaf prefix {4234                      leaf prefix {
4283                        type inet:ipv6-address-no-zone;4235                        type inet:ipv6-address-no-zone;
4284                        description4236                        description
4285                          "Summarize inter-area routes matching prefix/length";4237                          "Summarize inter-area routes matching prefix/length";
4286                      }4238                      }
4287                      leaf prefix-length {4239                      leaf prefix-length {
4288                        type xr:Ipv6-prefix-length;4240                        type xr:Ipv6-prefix-length;
4289                        description4241                        description
4290                          "Summarize inter-area routes matching prefix/length";4242                          "Summarize inter-area routes matching prefix/length";
4291                      }4243                      }
4292                      leaf cost {4244                      leaf cost {
4293                        type uint32 {4245                        type uint32 {
4294                          range "1..16777214" {4246                          range "1..16777214" {
4295                            description4247                            description
4296                              "Advertised metric for this range";4248                              "Advertised metric for this range";
4297                          }4249                          }
4298                        }4250                        }
4299                        description4251                        description
4300                          "User specified metric for this range";4252                          "User specified metric for this range";
4301                      }4253                      }
4302                      container advertise {4254                      container advertise {
4303                        presence "Indicates a advertise node is configured.";4255                        presence "Indicates a advertise node is configured.";
4304                        description4256                        description
4305                          "Advertise this range (default)";4257                          "Advertise this range (default)";
4306                      }4258                      }
4307                      container not-advertise {4259                      container not-advertise {
4308                        presence "Indicates a not-advertise node is configured.";4260                        presence "Indicates a not-advertise node is configured.";
4309                        description4261                        description
4310                          "Do not advertise this range";4262                          "Do not advertise this range";
4311                      }4263                      }
4312                    }4264                    }
4313                  }4265                  }
4314                  container stub {4266                  container stub {
4315                    presence "Indicates a stub node is configured.";4267                    presence "Indicates a stub node is configured.";
4316                    description4268                    description
4317                      "Specify area as a stub area";4269                      "Specify area as a stub area";
4318                    container no-summary {4270                    container no-summary {
4319                      presence "Indicates a no-summary node is configured.";4271                      presence "Indicates a no-summary node is configured.";
4320                      description4272                      description
4321                        "Do not send summary LSAs into stub area";4273                        "Do not send summary LSAs into stub area";
4322                    }4274                    }
4323                  }4275                  }
4324                  container interfaces {4276                  container interfaces {
4325                    description4277                    description
4326                      "Enable OSPFv3 on an interface";4278                      "Enable OSPFv3 on an interface";
4327                    list interface {4279                    list interface {
4328                      key "interface-name";4280                      key "interface-name";
4329                      description4281                      description
4330                        "Enable OSPFv3 on an interface";4282                        "Enable OSPFv3 on an interface";
4331                      leaf interface-name {4283                      leaf interface-name {
4332                        type xr:Interface-name;4284                        type xr:Interface-name;
4333                        description4285                        description
4334                          "Enable OSPFv3 on an interface";4286                          "Enable OSPFv3 on an interface";
4335                      }4287                      }
4336                      container authentication {4288                      container authentication {
4337                        must "disable or ipsec/spi";4289                        must "disable or ipsec/spi";
4338                        presence "Indicates a authentication node is configured.";4290                        presence "Indicates a authentication node is configured.";
4339                        description4291                        description
4340                          "Authenticate OSPFv3 packets";4292                          "Authenticate OSPFv3 packets";
4341                        container disable {4293                        container disable {
4342                          must "not(../ipsec/spi)";4294                          must "not(../ipsec/spi)";
4343                          presence "Indicates a disable node is configured.";4295                          presence "Indicates a disable node is configured.";
4344                          description4296                          description
4345                            "Do not authenticate OSPFv3 packets";4297                            "Do not authenticate OSPFv3 packets";
4346                        }4298                        }
4347                        container ipsec {4299                        container ipsec {
4348                          description4300                          description
4349                            "Use IPSec AH authentication";4301                            "Use IPSec AH authentication";
4350                          container spi {4302                          container spi {
4351                            must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";4303                            must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
4352                            presence "Indicates a spi node is configured.";4304                            presence "Indicates a spi node is configured.";
4353                            description4305                            description
4354                              "Specify the Security Parameter Index value";4306                              "Specify the Security Parameter Index value";
4355                            leaf spi-index {4307                            leaf spi-index {
4356                              type uint32 {4308                              type uint32 {
4357                                range "256..4294967295" {4309                                range "256..4294967295" {
4358                                  description4310                                  description
4359                                    "Security Parameter Index value";4311                                    "Security Parameter Index value";
4360                                }4312                                }
4361                              }4313                              }
4362                              mandatory true;4314                              mandatory true;
4363                              description4315                              description
4364                                "Specify the Security Parameter Index value";4316                                "Specify the Security Parameter Index value";
4365                            }4317                            }
4366                            container md5 {4318                            container md5 {
4367                              description4319                              description
4368                                "Use the MD5 algorithim";4320                                "Use the MD5 algorithim";
4369                              container password {4321                              container password {
4370                                description4322                                description
4371                                  "Enter MD5 key in encrypted form";4323                                  "Enter MD5 key in encrypted form";
4372                                leaf encrypted {4324                                leaf encrypted {
4373                                  type xr:Proprietary-password;4325                                  type xr:Proprietary-password;
4374                                  description4326                                  description
4375                                    "Encrypted key";4327                                    "Encrypted key";
4376                                }4328                                }
4377                              }4329                              }
4378                            }4330                            }
4379                            container sha1 {4331                            container sha1 {
4380                              description4332                              description
4381                                "Use the SHA1 algorithim";4333                                "Use the SHA1 algorithim";
4382                              container password {4334                              container password {
4383                                description4335                                description
4384                                  "Enter SHA1 key in encrypted form";4336                                  "Enter SHA1 key in encrypted form";
4385                                leaf encrypted {4337                                leaf encrypted {
4386                                  type xr:Proprietary-password;4338                                  type xr:Proprietary-password;
4387                                  description4339                                  description
4388                                    "Encrypted key";4340                                    "Encrypted key";
4389                                }4341                                }
4390                              }4342                              }
4391                            }4343                            }
4392                          }4344                          }
4393                        }4345                        }
4394                      }4346                      }
4395                      container encryption {4347                      container encryption {
4396                        must "disable or ipsec/spi";4348                        must "disable or ipsec/spi";
4397                        presence "Indicates a encryption node is configured.";4349                        presence "Indicates a encryption node is configured.";
4398                        description4350                        description
4399                          "Encrypt and authenticate OSPFv3 packets";4351                          "Encrypt and authenticate OSPFv3 packets";
4400                        container disable {4352                        container disable {
4401                          must "not(../ipsec/spi)";4353                          must "not(../ipsec/spi)";
4402                          presence "Indicates a disable node is configured.";4354                          presence "Indicates a disable node is configured.";
4403                          description4355                          description
4404                            "Do not encrypt OSPFv3 packets";4356                            "Do not encrypt OSPFv3 packets";
4405                        }4357                        }
4406                        container ipsec {4358                        container ipsec {
4407                          description4359                          description
4408                            "Use IPSec ESP encryption and authentication";4360                            "Use IPSec ESP encryption and authentication";
4409                          container spi {4361                          container spi {
4410                            must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";4362                            must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
4411                            presence "Indicates a spi node is configured.";4363                            presence "Indicates a spi node is configured.";
4412                            description4364                            description
4413                              "Specify the Security Parameter Index value";4365                              "Specify the Security Parameter Index value";
4414                            leaf spi-index {4366                            leaf spi-index {
4415                              type uint32 {4367                              type uint32 {
4416                                range "256..4294967295" {4368                                range "256..4294967295" {
4417                                  description4369                                  description
4418                                    "Security Parameter Index value";4370                                    "Security Parameter Index value";
4419                                }4371                                }
4420                              }4372                              }
4421                              mandatory true;4373                              mandatory true;
4422                              description4374                              description
4423                                "Specify the Security Parameter Index value";4375                                "Specify the Security Parameter Index value";
4424                            }4376                            }
4425                            container esp {4377                            container esp {
4426                              description4378                              description
4427                                "Specify encryption parameters";4379                                "Specify encryption parameters";
4428                              container null {4380                              container null {
4429                                must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";4381                                must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
4430                                presence "Indicates a null node is configured.";4382                                presence "Indicates a null node is configured.";
4431                                description4383                                description
4432                                  "Use NULL encryption";4384                                  "Use NULL encryption";
4433                              }4385                              }
4434                              container des {4386                              container des {
4435                                description4387                                description
4436                                  "Use the DES algorithim. Encrypted DES key (34 hex digits)";4388                                  "Use the DES algorithim. Encrypted DES key (34 hex digits)";
4437                                container password {4389                                container password {
4438                                  description4390                                  description
4439                                    "Enter DES key in encrypted form";4391                                    "Enter DES key in encrypted form";
4440                                  leaf encrypted {4392                                  leaf encrypted {
4441                                    type xr:Proprietary-password;4393                                    type xr:Proprietary-password;
4442                                    must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";4394                                    must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n4443                                    descriptionn
4444                                      "Encrypted key";
4445                                  }4395                                  }
4446                                }4396                                }
4447                              }4397                              }
4448                              container triple-des {4398                              container triple-des {
4449                                description4399                                description
4450                                  "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";4400                                  "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
4451                                container password {4401                                container password {
4452                                  description4402                                  description
4453                                    "Enter 3DES key in encrypted form";4403                                    "Enter 3DES key in encrypted form";
4454                                  leaf encrypted {4404                                  leaf encrypted {
4455                                    type xr:Proprietary-password;4405                                    type xr:Proprietary-password;
4456                                    must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";4406                                    must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n4457                                    descriptionn
4458                                      "Encrypted key";
4459                                  }4407                                  }
4460                                }4408                                }
4461                              }4409                              }
4462                              container aes {4410                              container aes {
4463                                description4411                                description
4464                                  "Use the AES algorithim. Encrypted AES key (32 hex digits)";4412                                  "Use the AES algorithim. Encrypted AES key (32 hex digits)";
4465                                container password {4413                                container password {
4466                                  description4414                                  description
4467                                    "Enter AES key in encrypted form";4415                                    "Enter AES key in encrypted form";
4468                                  leaf encrypted {4416                                  leaf encrypted {
4469                                    type xr:Proprietary-password;4417                                    type xr:Proprietary-password;
4470                                    must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";4418                                    must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n4471                                    descriptionn
4472                                      "Encrypted key";
4473                                  }4419                                  }
4474                                }4420                                }
4475                                container aes-192 {4421                                container aes-192 {
4476                                  description4422                                  description
4477                                    "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";4423                                    "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
4478                                  container password {4424                                  container password {
4479                                    description4425                                    description
4480                                      "Enter AES-192 key in encrypted form";4426                                      "Enter AES-192 key in encrypted form";
4481                                    leaf encrypted {4427                                    leaf encrypted {
4482                                      type xr:Proprietary-password;4428                                      type xr:Proprietary-password;
4483                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";4429                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n4484                                      descriptionn
4485                                        "Encrypted key";
4486                                    }4430                                    }
4487                                  }4431                                  }
4488                                }4432                                }
4489                                container aes-256 {4433                                container aes-256 {
4490                                  description4434                                  description
4491                                    "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";4435                                    "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
4492                                  container password {4436                                  container password {
4493                                    description4437                                    description
4494                                      "Enter AES-256 key in encrypted form";4438                                      "Enter AES-256 key in encrypted form";
4495                                    leaf encrypted {4439                                    leaf encrypted {
4496                                      type xr:Proprietary-password;4440                                      type xr:Proprietary-password;
4497                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";4441                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n4498                                      descriptionn
4499                                        "Encrypted key";
4500                                    }4442                                    }
4501                                  }4443                                  }
4502                                }4444                                }
4503                              }4445                              }
4504                              container authentication {4446                              container authentication {
4505                                must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";4447                                must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
4506                                presence "Indicates a authentication node is configured.";4448                                presence "Indicates a authentication node is configured.";
4507                                description4449                                description
4508                                  "Specify authentication parameters";4450                                  "Specify authentication parameters";
4509                                container md5 {4451                                container md5 {
4510                                  description4452                                  description
4511                                    "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";4453                                    "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
4512                                  container password {4454                                  container password {
4513                                    description4455                                    description
4514                                      "Enter MD5 key in encrypted form";4456                                      "Enter MD5 key in encrypted form";
4515                                    leaf encrypted {4457                                    leaf encrypted {
4516                                      type xr:Proprietary-password;4458                                      type xr:Proprietary-password;
4517                                      description4459                                      description
4518                                        "Enter key in encrypted form";4460                                        "Enter key in encrypted form";
4519                                    }4461                                    }
4520                                  }4462                                  }
4521                                }4463                                }
4522                                container sha1 {4464                                container sha1 {
4523                                  description4465                                  description
4524                                    "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";4466                                    "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
4525                                  container password {4467                                  container password {
4526                                    description4468                                    description
4527                                      "Enter SHA1 key in encrypted form";4469                                      "Enter SHA1 key in encrypted form";
4528                                    leaf encrypted {4470                                    leaf encrypted {
4529                                      type xr:Proprietary-password;4471                                      type xr:Proprietary-password;
4530                                      description4472                                      description
4531                                        "Enter key in encrypted form";4473                                        "Enter key in encrypted form";
4532                                    }4474                                    }
4533                                  }4475                                  }
4534                                }4476                                }
4535                                container null {4477                                container null {
4536                                  must "not(../../null)";4478                                  must "not(../../null)";
4537                                  presence "Indicates a null node is configured.";4479                                  presence "Indicates a null node is configured.";
4538                                  description4480                                  description
4539                                    "Use NULL authentication";4481                                    "Use NULL authentication";
4540                                }4482                                }
4541                              }4483                              }
4542                            }4484                            }
4543                          }4485                          }
4544                        }4486                        }
4545                      }4487                      }
4546                      container network {4488                      container network {
4547                        description4489                        description
4548                          "Network type";4490                          "Network type";
4549                        container broadcast {4491                        container broadcast {
4550                          presence "Indicates a broadcast node is configured.";4492                          presence "Indicates a broadcast node is configured.";
4551                          description4493                          description
4552                            "Specify OSPFv3 broadcast multi-access network";4494                            "Specify OSPFv3 broadcast multi-access network";
4553                        }4495                        }
4554                        container non-broadcast {4496                        container non-broadcast {
4555                          presence "Indicates a non-broadcast node is configured.";4497                          presence "Indicates a non-broadcast node is configured.";
4556                          description4498                          description
4557                            "Specify OSPFv3 NBMA network";4499                            "Specify OSPFv3 NBMA network";
4558                        }4500                        }
4559                        container point-to-point {4501                        container point-to-point {
4560                          presence "Indicates a point-to-point node is configured.";4502                          presence "Indicates a point-to-point node is configured.";
4561                          description4503                          description
4562                            "Specify OSPFv3 point-to-point network";4504                            "Specify OSPFv3 point-to-point network";
4563                        }4505                        }
4564                        container point-to-multipoint {4506                        container point-to-multipoint {
4565                          presence "Indicates a point-to-multipoint node is configured.";4507                          presence "Indicates a point-to-multipoint node is configured.";
4566                          description4508                          description
4567                            "Specify OSPFv3 point-to-multipoint network";4509                            "Specify OSPFv3 point-to-multipoint network";
4568                        }4510                        }
4569                      }4511                      }
4570                      container cost {4512                      container cost {
4571                        description4513                        description
4572                          "Interface cost";4514                          "Interface cost";
4573                        leaf cost {4515                        leaf cost {
4574                          type uint32 {4516                          type uint32 {
4575                            range "0..65535" {4517                            range "0..65535" {
4576                              description4518                              description
4577                                "Cost";4519                                "Cost";
4578                            }4520                            }
4579                          }4521                          }
4580                          description4522                          description
4581                            "Cost";4523                            "Cost";
4582                        }4524                        }
4583                      }4525                      }
4584                      leaf hello-interval {4526                      leaf hello-interval {
4585                        type uint32 {4527                        type uint32 {
4586                          range "1..65535" {4528                          range "1..65535" {
4587                            description4529                            description
4588                              "Seconds";4530                              "Seconds";
4589                          }4531                          }
4590                        }4532                        }
4591                        description4533                        description
4592                          "Time between HELLO packets";4534                          "Time between HELLO packets";
4593                      }4535                      }
4594                      leaf dead-interval {4536                      leaf dead-interval {
4595                        type uint32 {4537                        type uint32 {
4596                          range "1..65535" {4538                          range "1..65535" {
4597                            description4539                            description
4598                              "Seconds";4540                              "Seconds";
4599                          }4541                          }
4600                        }4542                        }
4601                        description4543                        description
4602                          "Interval after which a neighbor is declared dead";4544                          "Interval after which a neighbor is declared dead";
4603                      }4545                      }
4604                      leaf priority {4546                      leaf priority {
4605                        type uint32 {4547                        type uint32 {
4606                          range "0..255" {4548                          range "0..255" {
4607                            description4549                            description
4608                              "Priority";4550                              "Priority";
4609                          }4551                          }
4610                        }4552                        }
4611                        description4553                        description
4612                          "Router priority";4554                          "Router priority";
4613                      }4555                      }
4614                      leaf retransmit-interval {4556                      leaf retransmit-interval {
4615                        type uint32 {4557                        type uint32 {
4616                          range "1..65535" {4558                          range "1..65535" {
4617                            description4559                            description
4618                              "Seconds";4560                              "Seconds";
4619                          }4561                          }
4620                        }4562                        }
4621                        description4563                        description
4622                          "Delay between LSA retransmissions";4564                          "Delay between LSA retransmissions";
4623                      }4565                      }
4624                      leaf transmit-delay {4566                      leaf transmit-delay {
4625                        type uint32 {4567                        type uint32 {
4626                          range "1..65535" {4568                          range "1..65535" {
4627                            description4569                            description
4628                              "Seconds";4570                              "Seconds";
4629                          }4571                          }
4630                        }4572                        }
4631                        description4573                        description
4632                          "Link state transmit delay";4574                          "Link state transmit delay";
4633                      }4575                      }
4634                      container flood-reduction {4576                      container flood-reduction {
4635                        presence "Indicates a flood-reduction node is configured.";4577                        presence "Indicates a flood-reduction node is configured.";
4636                        description4578                        description
4637                          "Enable/Disable flood reduction";4579                          "Enable/Disable flood reduction";
4638                        container disable {4580                        container disable {
4639                          presence "Indicates a disable node is configured.";4581                          presence "Indicates a disable node is configured.";
4640                          description4582                          description
4641                            "Disable flood reduction";4583                            "Disable flood reduction";
4642                        }4584                        }
4643                      }4585                      }
4644                      container demand-circuit {4586                      container demand-circuit {
4645                        presence "Indicates a demand-circuit node is configured.";4587                        presence "Indicates a demand-circuit node is configured.";
4646                        description4588                        description
4647                          "Enable/Disable demand circuit operation";4589                          "Enable/Disable demand circuit operation";
4648                        container disable {4590                        container disable {
4649                          presence "Indicates a disable node is configured.";4591                          presence "Indicates a disable node is configured.";
4650                          description4592                          description
4651                            "Disable demand circuit operation";4593                            "Disable demand circuit operation";
4652                        }4594                        }
4653                      }4595                      }
4654                      container mtu-ignore {4596                      container mtu-ignore {
4655                        presence "Indicates a mtu-ignore node is configured.";4597                        presence "Indicates a mtu-ignore node is configured.";
4656                        description4598                        description
4657                          "Enable/Disable ignoring of MTU in DBD packets";4599                          "Enable/Disable ignoring of MTU in DBD packets";
4658                        container disable {4600                        container disable {
4659                          presence "Indicates a disable node is configured.";4601                          presence "Indicates a disable node is configured.";
4660                          description4602                          description
4661                            "Validate the MTU in DBD packets";4603                            "Validate the MTU in DBD packets";
4662                        }4604                        }
4663                      }4605                      }
4664                      leaf instance {4606                      leaf instance {
4665                        type uint32 {4607                        type uint32 {
4666                          range "0..255" {4608                          range "0..255" {
4667                            description4609                            description
4668                              "Instance ID";4610                              "Instance ID";
4669                          }4611                          }
4670                        }4612                        }
4671                        description4613                        description
4672                          "Instance ID";4614                          "Instance ID";
4673                      }4615                      }
4674                      container database-filter {4616                      container database-filter {
4675                        description4617                        description
4676                          "Filter LSAs during synchronization and flooding";4618                          "Filter LSAs during synchronization and flooding";
4677                        container all {4619                        container all {
4678                          description4620                          description
4679                            "Filter all LSA";4621                            "Filter all LSA";
4680                          container out {4622                          container out {
4681                            presence "Indicates a out node is configured.";4623                            presence "Indicates a out node is configured.";
4682                            description4624                            description
4683                              "Outgoing LSA";4625                              "Outgoing LSA";
4684                            container disable {4626                            container disable {
4685                              presence "Indicates a disable node is configured.";4627                              presence "Indicates a disable node is configured.";
4686                              description4628                              description
4687                                "Disable filtering";4629                                "Disable filtering";
4688                            }4630                            }
4689                          }4631                          }
4690                        }4632                        }
4691                      }4633                      }
4692                      container passive {4634                      container passive {
4693                        presence "Indicates a passive node is configured.";4635                        presence "Indicates a passive node is configured.";
4694                        description4636                        description
4695                          "Enable/Disable routing updates on an interface";4637                          "Enable/Disable routing updates on an interface";
4696                        container disable {4638                        container disable {
4697                          presence "Indicates a disable node is configured.";4639                          presence "Indicates a disable node is configured.";
4698                          description4640                          description
4699                            "Disable routing updates on an interface";4641                            "Disable routing updates on an interface";
4700                        }4642                        }
4701                      }4643                      }
4702                      container distribute-list {4644                      container distribute-list {
4703                        description4645                        description
4704                          "Filter prefixes to/from RIB";4646                          "Filter prefixes to/from RIB";
4705                        leaf prefix-list {4647                        leaf prefix-list {
4706                          type string {4648                          type string {
4707                            length "1..1024" {4649                            length "1..1024" {
4708                              description4650                              description
4709                                "Prefix-list name";4651                                "Prefix-list name";
4710                            }4652                            }
4711                          }4653                          }
4712                          description4654                          description
4713                            "Prefix-list name";4655                            "Prefix-list name";
4714                        }4656                        }
4715                      }4657                      }
4716                      leaf packet-size {4658                      leaf packet-size {
4717                        type uint32 {4659                        type uint32 {
4718                          range "256..10000" {4660                          range "256..10000" {
4719                            description4661                            description
4720                              "OSPFv3 packet size limit";4662                              "OSPFv3 packet size limit";
4721                          }4663                          }
4722                        }4664                        }
4723                        description4665                        description
4724                          "Limit size of OSPFv3 packets";4666                          "Limit size of OSPFv3 packets";
4725                      }4667                      }
4726                      container fast-reroute {4668                      container fast-reroute {
4727                        description4669                        description
4728                          "IP Fast Reroute";4670                          "IP Fast Reroute";
4729                        container per-link {4671                        container per-link {
4730                          description4672                          description
4731                            "Per-link Computation";4673                            "Per-link Computation";
4732                          container enable {4674                          container enable {
4733                            must "not(../../per-prefix/enable)";4675                            must "not(../../per-prefix/enable)";
4734                            presence "Indicates a per-link node is configured.";4676                            presence "Indicates a per-link node is configured.";
4735                            description4677                            description
4736                              "Enable per-link Computation";4678                              "Enable per-link Computation";
4737                          }4679                          }
4738                          container exclude {4680                          container exclude {
4739                            description4681                            description
4740                              "Per-link LFA exclusion information";4682                              "Per-link LFA exclusion information";
4741                            container interfaces {4683                            container interfaces {
4742                              description4684                              description
4743                                "Exclude an interface from Per-link LFA";4685                                "Exclude an interface from Per-link LFA";
4744                              list interface {4686                              list interface {
4745                                key "interface-name";4687                                key "interface-name";
4746                                description4688                                description
4747                                  "Exclude an interface from Per-link LFA";4689                                  "Exclude an interface from Per-link LFA";
4748                                leaf interface-name {4690                                leaf interface-name {
4749                                  type xr:Interface-name;4691                                  type xr:Interface-name;
4750                                  description4692                                  description
4751                                    "Exclude an interface from Per-link LFA";4693                                    "Exclude an interface from Per-link LFA";
4752                                }4694                                }
4753                              }4695                              }
4754                            }4696                            }
4755                          }4697                          }
4756                          container lfa-candidate {4698                          container lfa-candidate {
4757                            description4699                            description
4758                              "FRR LFA candidate information";4700                              "FRR LFA candidate information";
4759                            container interfaces {4701                            container interfaces {
4760                              description4702                              description
4761                                "Include an interface to LFA candidate in computation";4703                                "Include an interface to LFA candidate in computation";
4762                              list interface {4704                              list interface {
4763                                key "interface-name";4705                                key "interface-name";
4764                                description4706                                description
4765                                  "Include an interface to LFA candidate in computation";4707                                  "Include an interface to LFA candidate in computation";
4766                                leaf interface-name {4708                                leaf interface-name {
4767                                  type xr:Interface-name;4709                                  type xr:Interface-name;
4768                                  description4710                                  description
4769                                    "Include an interface to LFA candidate in computation";4711                                    "Include an interface to LFA candidate in computation";
4770                                }4712                                }
4771                              }4713                              }
4772                            }4714                            }
4773                          }4715                          }
4774                          container use-candidate-only {4716                          container use-candidate-only {
4775                            description4717                            description
4776                              "Enable/Disable backup selection from candidate-list only";4718                              "Enable/Disable backup selection from candidate-list only";
4777                            container enable {4719                            container enable {
4778                              must "not(../disable)";4720                              must "not(../disable)";
4779                              presence "Indicates a enable node is configured.";4721                              presence "Indicates a enable node is configured.";
4780                              description4722                              description
4781                                "Enable backup selection from candidate-list only";4723                                "Enable backup selection from candidate-list only";
4782                            }4724                            }
4783                            container disable {4725                            container disable {
4784                              must "not(../enable)";4726                              must "not(../enable)";
4785                              presence "Indicates a disable node is configured.";4727                              presence "Indicates a disable node is configured.";
4786                              description4728                              description
4787                                "Disable backup selection from candidate-list only";4729                                "Disable backup selection from candidate-list only";
4788                            }4730                            }
4789                          }4731                          }
4790                        }4732                        }
4791                        container per-prefix {4733                        container per-prefix {
4792                          description4734                          description
4793                            "Per-prefix Computation";4735                            "Per-prefix Computation";
4794                          container enable {4736                          container enable {
4795                            must "not(../../per-link/enable)";4737                            must "not(../../per-link/enable)";
4796                            presence "Indicates a per-prefix node is configured.";4738                            presence "Indicates a per-prefix node is configured.";
4797                            description4739                            description
4798                              "Enable per-prefix Computation";4740                              "Enable per-prefix Computation";
4799                          }4741                          }
4800                          container exclude {4742                          container exclude {
4801                            description4743                            description
4802                              "Per-prefix LFA exclusion information";4744                              "Per-prefix LFA exclusion information";
4803                            container interfaces {4745                            container interfaces {
4804                              description4746                              description
4805                                "Exclude an interface from Per-prefix LFA";4747                                "Exclude an interface from Per-prefix LFA";
4806                              list interface {4748                              list interface {
4807                                key "interface-name";4749                                key "interface-name";
4808                                description4750                                description
4809                                  "Exclude an interface from Per-prefix LFA";4751                                  "Exclude an interface from Per-prefix LFA";
4810                                leaf interface-name {4752                                leaf interface-name {
4811                                  type xr:Interface-name;4753                                  type xr:Interface-name;
4812                                  description4754                                  description
4813                                    "Exclude an interface from Per-prefix LFA";4755                                    "Exclude an interface from Per-prefix LFA";
4814                                }4756                                }
4815                              }4757                              }
4816                            }4758                            }
4817                          }4759                          }
4818                          container lfa-candidate {4760                          container lfa-candidate {
4819                            description4761                            description
4820                              "FRR LFA candidate information";4762                              "FRR LFA candidate information";
4821                            container interfaces {4763                            container interfaces {
4822                              description4764                              description
4823                                "Include an interface to LFA candidate in computation";4765                                "Include an interface to LFA candidate in computation";
4824                              list interface {4766                              list interface {
4825                                key "interface-name";4767                                key "interface-name";
4826                                description4768                                description
4827                                  "Include an interface to LFA candidate in computation";4769                                  "Include an interface to LFA candidate in computation";
4828                                leaf interface-name {4770                                leaf interface-name {
4829                                  type xr:Interface-name;4771                                  type xr:Interface-name;
4830                                  description4772                                  description
4831                                    "Include an interface to LFA candidate in computation";4773                                    "Include an interface to LFA candidate in computation";
4832                                }4774                                }
4833                              }4775                              }
4834                            }4776                            }
4835                          }4777                          }
4836                          container use-candidate-only {4778                          container use-candidate-only {
4837                            description4779                            description
4838                              "Enable/Disable backup selection from candidate-list only";4780                              "Enable/Disable backup selection from candidate-list only";
4839                            container enable {4781                            container enable {
4840                              must "not(../disable)";4782                              must "not(../disable)";
4841                              presence "Indicates a enable node is configured.";4783                              presence "Indicates a enable node is configured.";
4842                              description4784                              description
4843                                "Enable backup selection from candidate-list only";4785                                "Enable backup selection from candidate-list only";
4844                            }4786                            }
4845                            container disable {4787                            container disable {
4846                              must "not(../enable)";4788                              must "not(../enable)";
4847                              presence "Indicates a disable node is configured.";4789                              presence "Indicates a disable node is configured.";
4848                              description4790                              description
4849                                "Disable backup selection from candidate-list only";4791                                "Disable backup selection from candidate-list only";
4850                            }4792                            }
4851                          }4793                          }
4852                        }4794                        }
4853                        container disable {4795                        container disable {
4854                          presence "Indicates a disable node is configured.";4796                          presence "Indicates a disable node is configured.";
4855                          description4797                          description
4856                            "Disable IP Fast Reroute";4798                            "Disable IP Fast Reroute";
4857                        }4799                        }
4858                      }4800                      }
4859                      container prefix-suppression {4801                      container prefix-suppression {
4860                        presence "Indicates a prefix-suppression node is configured.";4802                        presence "Indicates a prefix-suppression node is configured.";
4861                        description4803                        description
4862                          "Hide all transit addresses on this interface";4804                          "Hide all transit addresses on this interface";
4863                        container disable {4805                        container disable {
4864                          presence "Indicates a disable node is configured.";4806                          presence "Indicates a disable node is configured.";
4865                          description4807                          description
4866                            "Disable prefix suppression on this interface";4808                            "Disable prefix suppression on this interface";
4867                        }4809                        }
4868                      }4810                      }
4869                      container bfd {4811                      container bfd {
4870                        description4812                        description
4871                          "Configure BFD parameters";4813                          "Configure BFD parameters";
4872                        container fast-detect {4814                        container fast-detect {
4873                          presence "Indicates a fast-detect node is configured.";4815                          presence "Indicates a fast-detect node is configured.";
4874                          description4816                          description
4875                            "Enable Fast detection";4817                            "Enable Fast detection";
4876                          container strict-mode {4818                          container strict-mode {
4877                            presence "Indicates a strict-mode node is configured.";4819                            presence "Indicates a strict-mode node is configured.";
4878                            description4820                            description
4879                              "Hold down neighbor session until BFD session is up";4821                              "Hold down neighbor session until BFD session is up";
4880                          }4822                          }
4881                          container disable {4823                          container disable {
4882                            presence "Indicates a disable node is configured.";4824                            presence "Indicates a disable node is configured.";
4883                            description4825                            description
4884                              "Prevent bfd settings from being inherited from the parent";4826                              "Prevent bfd settings from being inherited from the parent";
4885                          }4827                          }
4886                        }4828                        }
4887                        leaf minimum-interval {4829                        leaf minimum-interval {
4888                          type uint32 {4830                          type uint32 {
4889                            range "3..30000" {4831                            range "3..30000" {
4890                              description4832                              description
4891                                "minimum interval in milli-seconds";4833                                "minimum interval in milli-seconds";
4892                            }4834                            }
4893                          }4835                          }
4894                          description4836                          description
4895                            "Minimum interval";4837                            "Minimum interval";
4896                        }4838                        }
4897                        leaf multiplier {4839                        leaf multiplier {
4898                          type uint32 {4840                          type uint32 {
4899                            range "2..50" {4841                            range "2..50" {
4900                              description4842                              description
4901                                "Detect multiplier";4843                                "Detect multiplier";
4902                            }4844                            }
4903                          }4845                          }
4904                          description4846                          description
4905                            "Detect multiplier";4847                            "Detect multiplier";
4906                        }4848                        }
4907                      }4849                      }
4908                      container advertise {4850                      container advertise {
4909                        description4851                        description
4910                          "Conditionally advertise";4852                          "Conditionally advertise";
4911                        container prefix {4853                        container prefix {
4912                          description4854                          description
4913                            "Conditionally advertise this prefix";4855                            "Conditionally advertise this prefix";
4914                          leaf route-policy {4856                          leaf route-policy {
4915                            type xr:Route-policy-name;4857                            type xr:Route-policy-name;
4916                            description4858                            description
4917                              "Specify the route-policy for conditional advertising";4859                              "Specify the route-policy for conditional advertising";
4918                          }4860                          }
4919                        }4861                        }
4920                      }4862                      }
4921                      container neighbors {4863                      container neighbors {
4922                        description4864                        description
4923                          "Specify a neighbor router";4865                          "Specify a neighbor router";
4924                        list neighbor {4866                        list neighbor {
4925                          key "neighbor-address";4867                          key "neighbor-address";
4926                          description4868                          description
4927                            "Specify a neighbor router";4869                            "Specify a neighbor router";
4928                          leaf neighbor-address {4870                          leaf neighbor-address {
4929                            type inet:ipv6-address-no-zone;4871                            type inet:ipv6-address-no-zone;
4930                            description4872                            description
4931                              "Specify a neighbor router";4873                              "Specify a neighbor router";
4932                          }4874                          }
4933                          leaf zone {4875                          leaf zone {
4934                            type string;4876                            type string;
4935                            default "0";4877                            default "0";
4936                            description4878                            description
4937                              "IPv6 address zone";4879                              "IPv6 address zone";
4938                          }4880                          }
4939                          leaf priority {4881                          leaf priority {
4940                            type uint32 {4882                            type uint32 {
4941                              range "0..255" {4883                              range "0..255" {
4942                                description4884                                description
4943                                  "Priority";4885                                  "Priority";
4944                              }4886                              }
4945                            }4887                            }
4946                            description4888                            description
4947                              "OSPFv3 priority of non-broadcast neighbor";4889                              "OSPFv3 priority of non-broadcast neighbor";
4948                          }4890                          }
4949                          leaf poll-interval {4891                          leaf poll-interval {
4950                            type uint32 {4892                            type uint32 {
4951                              range "0..65535" {4893                              range "0..65535" {
4952                                description4894                                description
4953                                  "Seconds";4895                                  "Seconds";
4954                              }4896                              }
4955                            }4897                            }
4956                            description4898                            description
4957                              "OSPFv3 dead-router polling interval";4899                              "OSPFv3 dead-router polling interval";
4958                          }4900                          }
4959                          leaf cost {4901                          leaf cost {
4960                            type uint32 {4902                            type uint32 {
4961                              range "1..65535" {4903                              range "1..65535" {
4962                                description4904                                description
4963                                  "Metric";4905                                  "Metric";
4964                              }4906                              }
4965                            }4907                            }
4966                            description4908                            description
4967                              "OSPFv3 cost for point-to-multipoint neighbor";4909                              "OSPFv3 cost for point-to-multipoint neighbor";
4968                          }4910                          }
4969                          container database-filter {4911                          container database-filter {
4970                            description4912                            description
4971                              "Filter OSPFv3 LSA during synchronization and flooding for point-to-multipoint neighbor";4913                              "Filter OSPFv3 LSA during synchronization and flooding for point-to-multipoint neighbor";
4972                            container all {4914                            container all {
4973                              description4915                              description
4974                                "Filter all LSA";4916                                "Filter all LSA";
4975                              container out {4917                              container out {
4976                                presence "Indicates a out node is configured.";4918                                presence "Indicates a out node is configured.";
4977                                description4919                                description
4978                                  "Outgoing LSA";4920                                  "Outgoing LSA";
4979                              }4921                              }
4980                            }4922                            }
4981                          }4923                          }
4982                        }4924                        }
4983                      }4925                      }
4984                    }4926                    }
4985                  }4927                  }
4986                  container authentication {4928                  container authentication {
4987                    must "disable or ipsec/spi";4929                    must "disable or ipsec/spi";
4988                    presence "Indicates a authentication node is configured.";4930                    presence "Indicates a authentication node is configured.";
4989                    description4931                    description
4990                      "Authenticate OSPFv3 packets";4932                      "Authenticate OSPFv3 packets";
4991                    container disable {4933                    container disable {
4992                      must "not(../ipsec/spi)";4934                      must "not(../ipsec/spi)";
4993                      presence "Indicates a disable node is configured.";4935                      presence "Indicates a disable node is configured.";
4994                      description4936                      description
4995                        "Do not authenticate OSPFv3 packets";4937                        "Do not authenticate OSPFv3 packets";
4996                    }4938                    }
4997                    container ipsec {4939                    container ipsec {
4998                      description4940                      description
4999                        "Use IPSec AH authentication";4941                        "Use IPSec AH authentication";
5000                      container spi {4942                      container spi {
5001                        must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";4943                        must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
5002                        presence "Indicates a spi node is configured.";4944                        presence "Indicates a spi node is configured.";
5003                        description4945                        description
5004                          "Specify the Security Parameter Index value";4946                          "Specify the Security Parameter Index value";
5005                        leaf spi-index {4947                        leaf spi-index {
5006                          type uint32 {4948                          type uint32 {
5007                            range "256..4294967295" {4949                            range "256..4294967295" {
5008                              description4950                              description
5009                                "Security Parameter Index value";4951                                "Security Parameter Index value";
5010                            }4952                            }
5011                          }4953                          }
5012                          mandatory true;4954                          mandatory true;
5013                          description4955                          description
5014                            "Specify the Security Parameter Index value";4956                            "Specify the Security Parameter Index value";
5015                        }4957                        }
5016                        container md5 {4958                        container md5 {
5017                          description4959                          description
5018                            "Use the MD5 algorithim";4960                            "Use the MD5 algorithim";
5019                          container password {4961                          container password {
5020                            description4962                            description
5021                              "Enter MD5 key in encrypted form";4963                              "Enter MD5 key in encrypted form";
5022                            leaf encrypted {4964                            leaf encrypted {
5023                              type xr:Proprietary-password;4965                              type xr:Proprietary-password;
5024                              description4966                              description
5025                                "Encrypted key";4967                                "Encrypted key";
5026                            }4968                            }
5027                          }4969                          }
5028                        }4970                        }
5029                        container sha1 {4971                        container sha1 {
5030                          description4972                          description
5031                            "Use the SHA1 algorithim";4973                            "Use the SHA1 algorithim";
5032                          container password {4974                          container password {
5033                            description4975                            description
5034                              "Enter SHA1 key in encrypted form";4976                              "Enter SHA1 key in encrypted form";
5035                            leaf encrypted {4977                            leaf encrypted {
5036                              type xr:Proprietary-password;4978                              type xr:Proprietary-password;
5037                              description4979                              description
5038                                "Encrypted key";4980                                "Encrypted key";
5039                            }4981                            }
5040                          }4982                          }
5041                        }4983                        }
5042                      }4984                      }
5043                    }4985                    }
5044                  }4986                  }
5045                  container encryption {4987                  container encryption {
5046                    must "disable or ipsec/spi";4988                    must "disable or ipsec/spi";
5047                    presence "Indicates a encryption node is configured.";4989                    presence "Indicates a encryption node is configured.";
5048                    description4990                    description
5049                      "Encrypt and authenticate OSPFv3 packets";4991                      "Encrypt and authenticate OSPFv3 packets";
5050                    container disable {4992                    container disable {
5051                      must "not(../ipsec/spi)";4993                      must "not(../ipsec/spi)";
5052                      presence "Indicates a disable node is configured.";4994                      presence "Indicates a disable node is configured.";
5053                      description4995                      description
5054                        "Do not encrypt OSPFv3 packets";4996                        "Do not encrypt OSPFv3 packets";
5055                    }4997                    }
5056                    container ipsec {4998                    container ipsec {
5057                      description4999                      description
5058                        "Use IPSec ESP encryption and authentication";5000                        "Use IPSec ESP encryption and authentication";
5059                      container spi {5001                      container spi {
5060                        must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";5002                        must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
5061                        presence "Indicates a spi node is configured.";5003                        presence "Indicates a spi node is configured.";
5062                        description5004                        description
5063                          "Specify the Security Parameter Index value";5005                          "Specify the Security Parameter Index value";
5064                        leaf spi-index {5006                        leaf spi-index {
5065                          type uint32 {5007                          type uint32 {
5066                            range "256..4294967295" {5008                            range "256..4294967295" {
5067                              description5009                              description
5068                                "Security Parameter Index value";5010                                "Security Parameter Index value";
5069                            }5011                            }
5070                          }5012                          }
5071                          mandatory true;5013                          mandatory true;
5072                          description5014                          description
5073                            "Specify the Security Parameter Index value";5015                            "Specify the Security Parameter Index value";
5074                        }5016                        }
5075                        container esp {5017                        container esp {
5076                          description5018                          description
5077                            "Specify encryption parameters";5019                            "Specify encryption parameters";
5078                          container null {5020                          container null {
5079                            must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";5021                            must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
5080                            presence "Indicates a null node is configured.";5022                            presence "Indicates a null node is configured.";
5081                            description5023                            description
5082                              "Use NULL encryption";5024                              "Use NULL encryption";
5083                          }5025                          }
5084                          container des {5026                          container des {
5085                            description5027                            description
5086                              "Use the DES algorithim. Encrypted DES key (34 hex digits)";5028                              "Use the DES algorithim. Encrypted DES key (34 hex digits)";
5087                            container password {5029                            container password {
5088                              description5030                              description
5089                                "Enter DES key in encrypted form";5031                                "Enter DES key in encrypted form";
5090                              leaf encrypted {5032                              leaf encrypted {
5091                                type xr:Proprietary-password;5033                                type xr:Proprietary-password;
5092                                must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5034                                must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5093                                descriptionn
5094                                  "Encrypted key";
5095                              }5035                              }
5096                            }5036                            }
5097                          }5037                          }
5098                          container triple-des {5038                          container triple-des {
5099                            description5039                            description
5100                              "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";5040                              "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
5101                            container password {5041                            container password {
5102                              description5042                              description
5103                                "Enter 3DES key in encrypted form";5043                                "Enter 3DES key in encrypted form";
5104                              leaf encrypted {5044                              leaf encrypted {
5105                                type xr:Proprietary-password;5045                                type xr:Proprietary-password;
5106                                must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5046                                must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5107                                descriptionn
5108                                  "Encrypted key";
5109                              }5047                              }
5110                            }5048                            }
5111                          }5049                          }
5112                          container aes {5050                          container aes {
5113                            description5051                            description
5114                              "Use the AES algorithim. Encrypted AES key (32 hex digits)";5052                              "Use the AES algorithim. Encrypted AES key (32 hex digits)";
5115                            container password {5053                            container password {
5116                              description5054                              description
5117                                "Enter AES key in encrypted form";5055                                "Enter AES key in encrypted form";
5118                              leaf encrypted {5056                              leaf encrypted {
5119                                type xr:Proprietary-password;5057                                type xr:Proprietary-password;
5120                                must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5058                                must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5121                                descriptionn
5122                                  "Encrypted key";
5123                              }5059                              }
5124                            }5060                            }
5125                            container aes-192 {5061                            container aes-192 {
5126                              description5062                              description
5127                                "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";5063                                "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
5128                              container password {5064                              container password {
5129                                description5065                                description
5130                                  "Enter AES-192 key in encrypted form";5066                                  "Enter AES-192 key in encrypted form";
5131                                leaf encrypted {5067                                leaf encrypted {
5132                                  type xr:Proprietary-password;5068                                  type xr:Proprietary-password;
5133                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";5069                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n5134                                  descriptionn
5135                                    "Encrypted key";
5136                                }5070                                }
5137                              }5071                              }
5138                            }5072                            }
5139                            container aes-256 {5073                            container aes-256 {
5140                              description5074                              description
5141                                "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";5075                                "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
5142                              container password {5076                              container password {
5143                                description5077                                description
5144                                  "Enter AES-256 key in encrypted form";5078                                  "Enter AES-256 key in encrypted form";
5145                                leaf encrypted {5079                                leaf encrypted {
5146                                  type xr:Proprietary-password;5080                                  type xr:Proprietary-password;
5147                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";5081                                  must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n5148                                  descriptionn
5149                                    "Encrypted key";
5150                                }5082                                }
5151                              }5083                              }
5152                            }5084                            }
5153                          }5085                          }
5154                          container authentication {5086                          container authentication {
5155                            must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";5087                            must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
5156                            presence "Indicates a authentication node is configured.";5088                            presence "Indicates a authentication node is configured.";
5157                            description5089                            description
5158                              "Specify authentication parameters";5090                              "Specify authentication parameters";
5159                            container md5 {5091                            container md5 {
5160                              description5092                              description
5161                                "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";5093                                "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
5162                              container password {5094                              container password {
5163                                description5095                                description
5164                                  "Enter MD5 key in encrypted form";5096                                  "Enter MD5 key in encrypted form";
5165                                leaf encrypted {5097                                leaf encrypted {
5166                                  type xr:Proprietary-password;5098                                  type xr:Proprietary-password;
5167                                  description5099                                  description
5168                                    "Enter key in encrypted form";5100                                    "Enter key in encrypted form";
5169                                }5101                                }
5170                              }5102                              }
5171                            }5103                            }
5172                            container sha1 {5104                            container sha1 {
5173                              description5105                              description
5174                                "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";5106                                "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
5175                              container password {5107                              container password {
5176                                description5108                                description
5177                                  "Enter SHA1 key in encrypted form";5109                                  "Enter SHA1 key in encrypted form";
5178                                leaf encrypted {5110                                leaf encrypted {
5179                                  type xr:Proprietary-password;5111                                  type xr:Proprietary-password;
5180                                  description5112                                  description
5181                                    "Enter key in encrypted form";5113                                    "Enter key in encrypted form";
5182                                }5114                                }
5183                              }5115                              }
5184                            }5116                            }
5185                            container null {5117                            container null {
5186                              must "not(../../null)";5118                              must "not(../../null)";
5187                              presence "Indicates a null node is configured.";5119                              presence "Indicates a null node is configured.";
5188                              description5120                              description
5189                                "Use NULL authentication";5121                                "Use NULL authentication";
5190                            }5122                            }
5191                          }5123                          }
5192                        }5124                        }
5193                      }5125                      }
5194                    }5126                    }
5195                  }5127                  }
5196                  container network {5128                  container network {
5197                    description5129                    description
5198                      "Network type";5130                      "Network type";
5199                    container broadcast {5131                    container broadcast {
5200                      presence "Indicates a broadcast node is configured.";5132                      presence "Indicates a broadcast node is configured.";
5201                      description5133                      description
5202                        "Specify OSPFv3 broadcast multi-access network";5134                        "Specify OSPFv3 broadcast multi-access network";
5203                    }5135                    }
5204                    container non-broadcast {5136                    container non-broadcast {
5205                      presence "Indicates a non-broadcast node is configured.";5137                      presence "Indicates a non-broadcast node is configured.";
5206                      description5138                      description
5207                        "Specify OSPFv3 NBMA network";5139                        "Specify OSPFv3 NBMA network";
5208                    }5140                    }
5209                    container point-to-point {5141                    container point-to-point {
5210                      presence "Indicates a point-to-point node is configured.";5142                      presence "Indicates a point-to-point node is configured.";
5211                      description5143                      description
5212                        "Specify OSPFv3 point-to-point network";5144                        "Specify OSPFv3 point-to-point network";
5213                    }5145                    }
5214                    container point-to-multipoint {5146                    container point-to-multipoint {
5215                      presence "Indicates a point-to-multipoint node is configured.";5147                      presence "Indicates a point-to-multipoint node is configured.";
5216                      description5148                      description
5217                        "Specify OSPFv3 point-to-multipoint network";5149                        "Specify OSPFv3 point-to-multipoint network";
5218                    }5150                    }
5219                  }5151                  }
5220                  leaf cost {5152                  leaf cost {
5221                    type uint32 {5153                    type uint32 {
5222                      range "1..65535" {5154                      range "1..65535" {
5223                        description5155                        description
5224                          "Cost";5156                          "Cost";
5225                      }5157                      }
5226                    }5158                    }
5227                    description5159                    description
5228                      "Interface cost";5160                      "Interface cost";
5229                  }5161                  }
5230                  leaf hello-interval {5162                  leaf hello-interval {
5231                    type uint32 {5163                    type uint32 {
5232                      range "1..65535" {5164                      range "1..65535" {
5233                        description5165                        description
5234                          "Seconds";5166                          "Seconds";
5235                      }5167                      }
5236                    }5168                    }
5237                    description5169                    description
5238                      "Time between HELLO packets";5170                      "Time between HELLO packets";
5239                  }5171                  }
5240                  leaf dead-interval {5172                  leaf dead-interval {
5241                    type uint32 {5173                    type uint32 {
5242                      range "1..65535" {5174                      range "1..65535" {
5243                        description5175                        description
5244                          "Seconds";5176                          "Seconds";
5245                      }5177                      }
5246                    }5178                    }
5247                    description5179                    description
5248                      "Interval after which a neighbor is declared dead";5180                      "Interval after which a neighbor is declared dead";
5249                  }5181                  }
5250                  leaf priority {5182                  leaf priority {
5251                    type uint32 {5183                    type uint32 {
5252                      range "0..255" {5184                      range "0..255" {
5253                        description5185                        description
5254                          "Priority";5186                          "Priority";
5255                      }5187                      }
5256                    }5188                    }
5257                    description5189                    description
5258                      "Router priority";5190                      "Router priority";
5259                  }5191                  }
5260                  leaf retransmit-interval {5192                  leaf retransmit-interval {
5261                    type uint32 {5193                    type uint32 {
5262                      range "1..65535" {5194                      range "1..65535" {
5263                        description5195                        description
5264                          "Seconds";5196                          "Seconds";
5265                      }5197                      }
5266                    }5198                    }
5267                    description5199                    description
5268                      "Delay between LSA retransmissions";5200                      "Delay between LSA retransmissions";
5269                  }5201                  }
5270                  leaf transmit-delay {5202                  leaf transmit-delay {
5271                    type uint32 {5203                    type uint32 {
5272                      range "1..65535" {5204                      range "1..65535" {
5273                        description5205                        description
5274                          "Seconds";5206                          "Seconds";
5275                      }5207                      }
5276                    }5208                    }
5277                    description5209                    description
5278                      "Link state transmit delay";5210                      "Link state transmit delay";
5279                  }5211                  }
5280                  container flood-reduction {5212                  container flood-reduction {
5281                    presence "Indicates a flood-reduction node is configured.";5213                    presence "Indicates a flood-reduction node is configured.";
5282                    description5214                    description
5283                      "Enable/Disable flood reduction";5215                      "Enable/Disable flood reduction";
5284                    container disable {5216                    container disable {
5285                      presence "Indicates a disable node is configured.";5217                      presence "Indicates a disable node is configured.";
5286                      description5218                      description
5287                        "Disable flood reduction";5219                        "Disable flood reduction";
5288                    }5220                    }
5289                  }5221                  }
5290                  container demand-circuit {5222                  container demand-circuit {
5291                    presence "Indicates a demand-circuit node is configured.";5223                    presence "Indicates a demand-circuit node is configured.";
5292                    description5224                    description
5293                      "Enable/Disable demand circuit operation";5225                      "Enable/Disable demand circuit operation";
5294                    container disable {5226                    container disable {
5295                      presence "Indicates a disable node is configured.";5227                      presence "Indicates a disable node is configured.";
5296                      description5228                      description
5297                        "Disable demand circuit operation";5229                        "Disable demand circuit operation";
5298                    }5230                    }
5299                  }5231                  }
5300                  container mtu-ignore {5232                  container mtu-ignore {
5301                    presence "Indicates a mtu-ignore node is configured.";5233                    presence "Indicates a mtu-ignore node is configured.";
5302                    description5234                    description
5303                      "Enable/Disable ignoring of MTU in DBD packets";5235                      "Enable/Disable ignoring of MTU in DBD packets";
5304                    container disable {5236                    container disable {
5305                      presence "Indicates a disable node is configured.";5237                      presence "Indicates a disable node is configured.";
5306                      description5238                      description
5307                        "Validate the MTU in DBD packets";5239                        "Validate the MTU in DBD packets";
5308                    }5240                    }
5309                  }5241                  }
5310                  leaf instance {5242                  leaf instance {
5311                    type uint32 {5243                    type uint32 {
5312                      range "0..255" {5244                      range "0..255" {
5313                        description5245                        description
5314                          "Instance ID";5246                          "Instance ID";
5315                      }5247                      }
5316                    }5248                    }
5317                    description5249                    description
5318                      "Instance ID";5250                      "Instance ID";
5319                  }5251                  }
5320                  container database-filter {5252                  container database-filter {
5321                    description5253                    description
5322                      "Filter LSAs during synchronization and flooding";5254                      "Filter LSAs during synchronization and flooding";
5323                    container all {5255                    container all {
5324                      description5256                      description
5325                        "Filter all LSA";5257                        "Filter all LSA";
5326                      container out {5258                      container out {
5327                        presence "Indicates a out node is configured.";5259                        presence "Indicates a out node is configured.";
5328                        description5260                        description
5329                          "Outgoing LSA";5261                          "Outgoing LSA";
5330                        container disable {5262                        container disable {
5331                          presence "Indicates a disable node is configured.";5263                          presence "Indicates a disable node is configured.";
5332                          description5264                          description
5333                            "Disable filtering";5265                            "Disable filtering";
5334                        }5266                        }
5335                      }5267                      }
5336                    }5268                    }
5337                  }5269                  }
5338                  container passive {5270                  container passive {
5339                    presence "Indicates a passive node is configured.";5271                    presence "Indicates a passive node is configured.";
5340                    description5272                    description
5341                      "Enable/Disable routing updates on an interface";5273                      "Enable/Disable routing updates on an interface";
5342                    container disable {5274                    container disable {
5343                      presence "Indicates a disable node is configured.";5275                      presence "Indicates a disable node is configured.";
5344                      description5276                      description
5345                        "Disable routing updates on an interface";5277                        "Disable routing updates on an interface";
5346                    }5278                    }
5347                  }5279                  }
5348                  container distribute-list {5280                  container distribute-list {
5349                    description5281                    description
5350                      "Filter prefixes to/from RIB";5282                      "Filter prefixes to/from RIB";
5351                    leaf prefix-list {5283                    leaf prefix-list {
5352                      type string {5284                      type string {
5353                        length "1..1024" {5285                        length "1..1024" {
5354                          description5286                          description
5355                            "Prefix-list name";5287                            "Prefix-list name";
5356                        }5288                        }
5357                      }5289                      }
5358                      description5290                      description
5359                        "Prefix-list name";5291                        "Prefix-list name";
5360                    }5292                    }
5361                  }5293                  }
5362                  leaf packet-size {5294                  leaf packet-size {
5363                    type uint32 {5295                    type uint32 {
5364                      range "256..10000" {5296                      range "256..10000" {
5365                        description5297                        description
5366                          "OSPFv3 packet size limit";5298                          "OSPFv3 packet size limit";
5367                      }5299                      }
5368                    }5300                    }
5369                    description5301                    description
5370                      "Limit size of OSPFv3 packets";5302                      "Limit size of OSPFv3 packets";
5371                  }5303                  }
5372                  container fast-reroute {5304                  container fast-reroute {
5373                    description5305                    description
5374                      "IP Fast Reroute";5306                      "IP Fast Reroute";
5375                    container per-link {5307                    container per-link {
5376                      description5308                      description
5377                        "Per-link Computation";5309                        "Per-link Computation";
5378                      container enable {5310                      container enable {
5379                        must "not(../../per-prefix/enable)";5311                        must "not(../../per-prefix/enable)";
5380                        presence "Indicates a per-link node is configured.";5312                        presence "Indicates a per-link node is configured.";
5381                        description5313                        description
5382                          "Enable per-link Computation";5314                          "Enable per-link Computation";
5383                      }5315                      }
5384                      container exclude {5316                      container exclude {
5385                        description5317                        description
5386                          "Per-link LFA exclusion information";5318                          "Per-link LFA exclusion information";
5387                        container interfaces {5319                        container interfaces {
5388                          description5320                          description
5389                            "Exclude an interface from Per-link LFA";5321                            "Exclude an interface from Per-link LFA";
5390                          list interface {5322                          list interface {
5391                            key "interface-name";5323                            key "interface-name";
5392                            description5324                            description
5393                              "Exclude an interface from Per-link LFA";5325                              "Exclude an interface from Per-link LFA";
5394                            leaf interface-name {5326                            leaf interface-name {
5395                              type xr:Interface-name;5327                              type xr:Interface-name;
5396                              description5328                              description
5397                                "Exclude an interface from Per-link LFA";5329                                "Exclude an interface from Per-link LFA";
5398                            }5330                            }
5399                          }5331                          }
5400                        }5332                        }
5401                      }5333                      }
5402                      container lfa-candidate {5334                      container lfa-candidate {
5403                        description5335                        description
5404                          "FRR LFA candidate information";5336                          "FRR LFA candidate information";
5405                        container interfaces {5337                        container interfaces {
5406                          description5338                          description
5407                            "Include an interface to LFA candidate in computation";5339                            "Include an interface to LFA candidate in computation";
5408                          list interface {5340                          list interface {
5409                            key "interface-name";5341                            key "interface-name";
5410                            description5342                            description
5411                              "Include an interface to LFA candidate in computation";5343                              "Include an interface to LFA candidate in computation";
5412                            leaf interface-name {5344                            leaf interface-name {
5413                              type xr:Interface-name;5345                              type xr:Interface-name;
5414                              description5346                              description
5415                                "Include an interface to LFA candidate in computation";5347                                "Include an interface to LFA candidate in computation";
5416                            }5348                            }
5417                          }5349                          }
5418                        }5350                        }
5419                      }5351                      }
5420                      container use-candidate-only {5352                      container use-candidate-only {
5421                        description5353                        description
5422                          "Enable/Disable backup selection from candidate-list only";5354                          "Enable/Disable backup selection from candidate-list only";
5423                        container enable {5355                        container enable {
5424                          must "not(../disable)";5356                          must "not(../disable)";
5425                          presence "Indicates a enable node is configured.";5357                          presence "Indicates a enable node is configured.";
5426                          description5358                          description
5427                            "Enable backup selection from candidate-list only";5359                            "Enable backup selection from candidate-list only";
5428                        }5360                        }
5429                        container disable {5361                        container disable {
5430                          must "not(../enable)";5362                          must "not(../enable)";
5431                          presence "Indicates a disable node is configured.";5363                          presence "Indicates a disable node is configured.";
5432                          description5364                          description
5433                            "Disable backup selection from candidate-list only";5365                            "Disable backup selection from candidate-list only";
5434                        }5366                        }
5435                      }5367                      }
5436                    }5368                    }
5437                    container per-prefix {5369                    container per-prefix {
5438                      description5370                      description
5439                        "Per-prefix Computation";5371                        "Per-prefix Computation";
5440                      container enable {5372                      container enable {
5441                        must "not(../../per-link/enable)";5373                        must "not(../../per-link/enable)";
5442                        presence "Indicates a per-prefix node is configured.";5374                        presence "Indicates a per-prefix node is configured.";
5443                        description5375                        description
5444                          "Enable per-prefix Computation";5376                          "Enable per-prefix Computation";
5445                      }5377                      }
5446                      container exclude {5378                      container exclude {
5447                        description5379                        description
5448                          "Per-prefix LFA exclusion information";5380                          "Per-prefix LFA exclusion information";
5449                        container interfaces {5381                        container interfaces {
5450                          description5382                          description
5451                            "Exclude an interface from Per-prefix LFA";5383                            "Exclude an interface from Per-prefix LFA";
5452                          list interface {5384                          list interface {
5453                            key "interface-name";5385                            key "interface-name";
5454                            description5386                            description
5455                              "Exclude an interface from Per-prefix LFA";5387                              "Exclude an interface from Per-prefix LFA";
5456                            leaf interface-name {5388                            leaf interface-name {
5457                              type xr:Interface-name;5389                              type xr:Interface-name;
5458                              description5390                              description
5459                                "Exclude an interface from Per-prefix LFA";5391                                "Exclude an interface from Per-prefix LFA";
5460                            }5392                            }
5461                          }5393                          }
5462                        }5394                        }
5463                      }5395                      }
5464                      container lfa-candidate {5396                      container lfa-candidate {
5465                        description5397                        description
5466                          "FRR LFA candidate information";5398                          "FRR LFA candidate information";
5467                        container interfaces {5399                        container interfaces {
5468                          description5400                          description
5469                            "Include an interface to LFA candidate in computation";5401                            "Include an interface to LFA candidate in computation";
5470                          list interface {5402                          list interface {
5471                            key "interface-name";5403                            key "interface-name";
5472                            description5404                            description
5473                              "Include an interface to LFA candidate in computation";5405                              "Include an interface to LFA candidate in computation";
5474                            leaf interface-name {5406                            leaf interface-name {
5475                              type xr:Interface-name;5407                              type xr:Interface-name;
5476                              description5408                              description
5477                                "Include an interface to LFA candidate in computation";5409                                "Include an interface to LFA candidate in computation";
5478                            }5410                            }
5479                          }5411                          }
5480                        }5412                        }
5481                      }5413                      }
5482                      container use-candidate-only {5414                      container use-candidate-only {
5483                        description5415                        description
5484                          "Enable/Disable backup selection from candidate-list only";5416                          "Enable/Disable backup selection from candidate-list only";
5485                        container enable {5417                        container enable {
5486                          must "not(../disable)";5418                          must "not(../disable)";
5487                          presence "Indicates a enable node is configured.";5419                          presence "Indicates a enable node is configured.";
5488                          description5420                          description
5489                            "Enable backup selection from candidate-list only";5421                            "Enable backup selection from candidate-list only";
5490                        }5422                        }
5491                        container disable {5423                        container disable {
5492                          must "not(../enable)";5424                          must "not(../enable)";
5493                          presence "Indicates a disable node is configured.";5425                          presence "Indicates a disable node is configured.";
5494                          description5426                          description
5495                            "Disable backup selection from candidate-list only";5427                            "Disable backup selection from candidate-list only";
5496                        }5428                        }
5497                      }5429                      }
5498                    }5430                    }
5499                    container disable {5431                    container disable {
5500                      presence "Indicates a disable node is configured.";5432                      presence "Indicates a disable node is configured.";
5501                      description5433                      description
5502                        "Disable IP Fast Reroute";5434                        "Disable IP Fast Reroute";
5503                    }5435                    }
5504                  }5436                  }
5505                  container prefix-suppression {5437                  container prefix-suppression {
5506                    presence "Indicates a prefix-suppression node is configured.";5438                    presence "Indicates a prefix-suppression node is configured.";
5507                    description5439                    description
5508                      "Hide all transit addresses on this interface";5440                      "Hide all transit addresses on this interface";
5509                    container disable {5441                    container disable {
5510                      presence "Indicates a disable node is configured.";5442                      presence "Indicates a disable node is configured.";
5511                      description5443                      description
5512                        "Disable prefix suppression on this interface";5444                        "Disable prefix suppression on this interface";
5513                    }5445                    }
5514                  }5446                  }
5515                  container bfd {5447                  container bfd {
5516                    description5448                    description
5517                      "Configure BFD parameters";5449                      "Configure BFD parameters";
5518                    container fast-detect {5450                    container fast-detect {
5519                      presence "Indicates a fast-detect node is configured.";5451                      presence "Indicates a fast-detect node is configured.";
5520                      description5452                      description
5521                        "Enable Fast detection";5453                        "Enable Fast detection";
5522                      container strict-mode {5454                      container strict-mode {
5523                        presence "Indicates a strict-mode node is configured.";5455                        presence "Indicates a strict-mode node is configured.";
5524                        description5456                        description
5525                          "Hold down neighbor session until BFD session is up";5457                          "Hold down neighbor session until BFD session is up";
5526                      }5458                      }
5527                      container disable {5459                      container disable {
5528                        presence "Indicates a disable node is configured.";5460                        presence "Indicates a disable node is configured.";
5529                        description5461                        description
5530                          "Prevent bfd settings from being inherited from the parent";5462                          "Prevent bfd settings from being inherited from the parent";
5531                      }5463                      }
5532                    }5464                    }
5533                    leaf minimum-interval {5465                    leaf minimum-interval {
5534                      type uint32 {5466                      type uint32 {
5535                        range "3..30000" {5467                        range "3..30000" {
5536                          description5468                          description
5537                            "minimum interval in milli-seconds";5469                            "minimum interval in milli-seconds";
5538                        }5470                        }
5539                      }5471                      }
5540                      description5472                      description
5541                        "Minimum interval";5473                        "Minimum interval";
5542                    }5474                    }
5543                    leaf multiplier {5475                    leaf multiplier {
5544                      type uint32 {5476                      type uint32 {
5545                        range "2..50" {5477                        range "2..50" {
5546                          description5478                          description
5547                            "Detect multiplier";5479                            "Detect multiplier";
5548                        }5480                        }
5549                      }5481                      }
5550                      description5482                      description
5551                        "Detect multiplier";5483                        "Detect multiplier";
5552                    }5484                    }
5553                  }5485                  }
5554                  container virtual-links {5486                  container virtual-links {
5555                    description5487                    description
5556                      "Define a virtual link";5488                      "Define a virtual link";
5557                    list virtual-link {5489                    list virtual-link {
5558                      key "virtual-link-address";5490                      key "virtual-link-address";
5559                      description5491                      description
5560                        "Define a virtual link";5492                        "Define a virtual link";
5561                      leaf virtual-link-address {5493                      leaf virtual-link-address {
5562                        type inet:ipv4-address-no-zone;5494                        type inet:ipv4-address-no-zone;
5563                        description5495                        description
5564                          "Define a virtual link";5496                          "Define a virtual link";
5565                      }5497                      }
5566                      container authentication {5498                      container authentication {
5567                        must "disable or ipsec/spi";5499                        must "disable or ipsec/spi";
5568                        presence "Indicates a authentication node is configured.";5500                        presence "Indicates a authentication node is configured.";
5569                        description5501                        description
5570                          "Authenticate OSPFv3 packets";5502                          "Authenticate OSPFv3 packets";
5571                        container disable {5503                        container disable {
5572                          must "not(../ipsec/spi)";5504                          must "not(../ipsec/spi)";
5573                          presence "Indicates a disable node is configured.";5505                          presence "Indicates a disable node is configured.";
5574                          description5506                          description
5575                            "Do not authenticate OSPFv3 packets";5507                            "Do not authenticate OSPFv3 packets";
5576                        }5508                        }
5577                        container ipsec {5509                        container ipsec {
5578                          description5510                          description
5579                            "Use IPSec AH authentication";5511                            "Use IPSec AH authentication";
5580                          container spi {5512                          container spi {
5581                            must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";5513                            must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
5582                            presence "Indicates a spi node is configured.";5514                            presence "Indicates a spi node is configured.";
5583                            description5515                            description
5584                              "Specify the Security Parameter Index value";5516                              "Specify the Security Parameter Index value";
5585                            leaf spi-index {5517                            leaf spi-index {
5586                              type uint32 {5518                              type uint32 {
5587                                range "256..4294967295" {5519                                range "256..4294967295" {
5588                                  description5520                                  description
5589                                    "Security Parameter Index value";5521                                    "Security Parameter Index value";
5590                                }5522                                }
5591                              }5523                              }
5592                              mandatory true;5524                              mandatory true;
5593                              description5525                              description
5594                                "Specify the Security Parameter Index value";5526                                "Specify the Security Parameter Index value";
5595                            }5527                            }
5596                            container md5 {5528                            container md5 {
5597                              description5529                              description
5598                                "Use the MD5 algorithim";5530                                "Use the MD5 algorithim";
5599                              container password {5531                              container password {
5600                                description5532                                description
5601                                  "Enter MD5 key in encrypted form";5533                                  "Enter MD5 key in encrypted form";
5602                                leaf encrypted {5534                                leaf encrypted {
5603                                  type xr:Proprietary-password;5535                                  type xr:Proprietary-password;
5604                                  description5536                                  description
5605                                    "Encrypted key";5537                                    "Encrypted key";
5606                                }5538                                }
5607                              }5539                              }
5608                            }5540                            }
5609                            container sha1 {5541                            container sha1 {
5610                              description5542                              description
5611                                "Use the SHA1 algorithim";5543                                "Use the SHA1 algorithim";
5612                              container password {5544                              container password {
5613                                description5545                                description
5614                                  "Enter SHA1 key in encrypted form";5546                                  "Enter SHA1 key in encrypted form";
5615                                leaf encrypted {5547                                leaf encrypted {
5616                                  type xr:Proprietary-password;5548                                  type xr:Proprietary-password;
5617                                  description5549                                  description
5618                                    "Encrypted key";5550                                    "Encrypted key";
5619                                }5551                                }
5620                              }5552                              }
5621                            }5553                            }
5622                          }5554                          }
5623                        }5555                        }
5624                      }5556                      }
5625                      container encryption {5557                      container encryption {
5626                        must "disable or ipsec/spi";5558                        must "disable or ipsec/spi";
5627                        presence "Indicates a encryption node is configured.";5559                        presence "Indicates a encryption node is configured.";
5628                        description5560                        description
5629                          "Encrypt and authenticate OSPFv3 packets";5561                          "Encrypt and authenticate OSPFv3 packets";
5630                        container disable {5562                        container disable {
5631                          must "not(../ipsec/spi)";5563                          must "not(../ipsec/spi)";
5632                          presence "Indicates a disable node is configured.";5564                          presence "Indicates a disable node is configured.";
5633                          description5565                          description
5634                            "Do not encrypt OSPFv3 packets";5566                            "Do not encrypt OSPFv3 packets";
5635                        }5567                        }
5636                        container ipsec {5568                        container ipsec {
5637                          description5569                          description
5638                            "Use IPSec ESP encryption and authentication";5570                            "Use IPSec ESP encryption and authentication";
5639                          container spi {5571                          container spi {
5640                            must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";5572                            must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
5641                            presence "Indicates a spi node is configured.";5573                            presence "Indicates a spi node is configured.";
5642                            description5574                            description
5643                              "Specify the Security Parameter Index value";5575                              "Specify the Security Parameter Index value";
5644                            leaf spi-index {5576                            leaf spi-index {
5645                              type uint32 {5577                              type uint32 {
5646                                range "256..4294967295" {5578                                range "256..4294967295" {
5647                                  description5579                                  description
5648                                    "Security Parameter Index value";5580                                    "Security Parameter Index value";
5649                                }5581                                }
5650                              }5582                              }
5651                              mandatory true;5583                              mandatory true;
5652                              description5584                              description
5653                                "Specify the Security Parameter Index value";5585                                "Specify the Security Parameter Index value";
5654                            }5586                            }
5655                            container esp {5587                            container esp {
5656                              description5588                              description
5657                                "Specify encryption parameters";5589                                "Specify encryption parameters";
5658                              container null {5590                              container null {
5659                                must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";5591                                must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
5660                                presence "Indicates a null node is configured.";5592                                presence "Indicates a null node is configured.";
5661                                description5593                                description
5662                                  "Use NULL encryption";5594                                  "Use NULL encryption";
5663                              }5595                              }
5664                              container des {5596                              container des {
5665                                description5597                                description
5666                                  "Use the DES algorithim. Encrypted DES key (34 hex digits)";5598                                  "Use the DES algorithim. Encrypted DES key (34 hex digits)";
5667                                container password {5599                                container password {
5668                                  description5600                                  description
5669                                    "Enter DES key in encrypted form";5601                                    "Enter DES key in encrypted form";
5670                                  leaf encrypted {5602                                  leaf encrypted {
5671                                    type xr:Proprietary-password;5603                                    type xr:Proprietary-password;
5672                                    must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5604                                    must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5673                                    descriptionn
5674                                      "Encrypted key";
5675                                  }5605                                  }
5676                                }5606                                }
5677                              }5607                              }
5678                              container triple-des {5608                              container triple-des {
5679                                description5609                                description
5680                                  "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";5610                                  "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
5681                                container password {5611                                container password {
5682                                  description5612                                  description
5683                                    "Enter 3DES key in encrypted form";5613                                    "Enter 3DES key in encrypted form";
5684                                  leaf encrypted {5614                                  leaf encrypted {
5685                                    type xr:Proprietary-password;5615                                    type xr:Proprietary-password;
5686                                    must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5616                                    must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5687                                    descriptionn
5688                                      "Encrypted key";
5689                                  }5617                                  }
5690                                }5618                                }
5691                              }5619                              }
5692                              container aes {5620                              container aes {
5693                                description5621                                description
5694                                  "Use the AES algorithim. Encrypted AES key (32 hex digits)";5622                                  "Use the AES algorithim. Encrypted AES key (32 hex digits)";
5695                                container password {5623                                container password {
5696                                  description5624                                  description
5697                                    "Enter AES key in encrypted form";5625                                    "Enter AES key in encrypted form";
5698                                  leaf encrypted {5626                                  leaf encrypted {
5699                                    type xr:Proprietary-password;5627                                    type xr:Proprietary-password;
5700                                    must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5628                                    must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5701                                    descriptionn
5702                                      "Encrypted key";
5703                                  }5629                                  }
5704                                }5630                                }
5705                                container aes-192 {5631                                container aes-192 {
5706                                  description5632                                  description
5707                                    "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";5633                                    "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
5708                                  container password {5634                                  container password {
5709                                    description5635                                    description
5710                                      "Enter AES-192 key in encrypted form";5636                                      "Enter AES-192 key in encrypted form";
5711                                    leaf encrypted {5637                                    leaf encrypted {
5712                                      type xr:Proprietary-password;5638                                      type xr:Proprietary-password;
5713                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";5639                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n5714                                      descriptionn
5715                                        "Encrypted key";
5716                                    }5640                                    }
5717                                  }5641                                  }
5718                                }5642                                }
5719                                container aes-256 {5643                                container aes-256 {
5720                                  description5644                                  description
5721                                    "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";5645                                    "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
5722                                  container password {5646                                  container password {
5723                                    description5647                                    description
5724                                      "Enter AES-256 key in encrypted form";5648                                      "Enter AES-256 key in encrypted form";
5725                                    leaf encrypted {5649                                    leaf encrypted {
5726                                      type xr:Proprietary-password;5650                                      type xr:Proprietary-password;
5727                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";5651                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n5728                                      descriptionn
5729                                        "Encrypted key";
5730                                    }5652                                    }
5731                                  }5653                                  }
5732                                }5654                                }
5733                              }5655                              }
5734                              container authentication {5656                              container authentication {
5735                                must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";5657                                must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
5736                                presence "Indicates a authentication node is configured.";5658                                presence "Indicates a authentication node is configured.";
5737                                description5659                                description
5738                                  "Specify authentication parameters";5660                                  "Specify authentication parameters";
5739                                container md5 {5661                                container md5 {
5740                                  description5662                                  description
5741                                    "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";5663                                    "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
5742                                  container password {5664                                  container password {
5743                                    description5665                                    description
5744                                      "Enter MD5 key in encrypted form";5666                                      "Enter MD5 key in encrypted form";
5745                                    leaf encrypted {5667                                    leaf encrypted {
5746                                      type xr:Proprietary-password;5668                                      type xr:Proprietary-password;
5747                                      description5669                                      description
5748                                        "Enter key in encrypted form";5670                                        "Enter key in encrypted form";
5749                                    }5671                                    }
5750                                  }5672                                  }
5751                                }5673                                }
5752                                container sha1 {5674                                container sha1 {
5753                                  description5675                                  description
5754                                    "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";5676                                    "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
5755                                  container password {5677                                  container password {
5756                                    description5678                                    description
5757                                      "Enter SHA1 key in encrypted form";5679                                      "Enter SHA1 key in encrypted form";
5758                                    leaf encrypted {5680                                    leaf encrypted {
5759                                      type xr:Proprietary-password;5681                                      type xr:Proprietary-password;
5760                                      description5682                                      description
5761                                        "Enter key in encrypted form";5683                                        "Enter key in encrypted form";
5762                                    }5684                                    }
5763                                  }5685                                  }
5764                                }5686                                }
5765                                container null {5687                                container null {
5766                                  must "not(../../null)";5688                                  must "not(../../null)";
5767                                  presence "Indicates a null node is configured.";5689                                  presence "Indicates a null node is configured.";
5768                                  description5690                                  description
5769                                    "Use NULL authentication";5691                                    "Use NULL authentication";
5770                                }5692                                }
5771                              }5693                              }
5772                            }5694                            }
5773                          }5695                          }
5774                        }5696                        }
5775                      }5697                      }
5776                      leaf hello-interval {5698                      leaf hello-interval {
5777                        type uint32 {5699                        type uint32 {
5778                          range "1..65535" {5700                          range "1..65535" {
5779                            description5701                            description
5780                              "Seconds";5702                              "Seconds";
5781                          }5703                          }
5782                        }5704                        }
5783                        description5705                        description
5784                          "Time between HELLO packets";5706                          "Time between HELLO packets";
5785                      }5707                      }
5786                      leaf dead-interval {5708                      leaf dead-interval {
5787                        type uint32 {5709                        type uint32 {
5788                          range "1..65535" {5710                          range "1..65535" {
5789                            description5711                            description
5790                              "Seconds";5712                              "Seconds";
5791                          }5713                          }
5792                        }5714                        }
5793                        description5715                        description
5794                          "Interval after which a neighbor is declared dead";5716                          "Interval after which a neighbor is declared dead";
5795                      }5717                      }
5796                      leaf retransmit-interval {5718                      leaf retransmit-interval {
5797                        type uint32 {5719                        type uint32 {
5798                          range "1..65535" {5720                          range "1..65535" {
5799                            description5721                            description
5800                              "Seconds";5722                              "Seconds";
5801                          }5723                          }
5802                        }5724                        }
5803                        description5725                        description
5804                          "Delay between LSA retransmissions";5726                          "Delay between LSA retransmissions";
5805                      }5727                      }
5806                      leaf transmit-delay {5728                      leaf transmit-delay {
5807                        type uint32 {5729                        type uint32 {
5808                          range "1..65535" {5730                          range "1..65535" {
5809                            description5731                            description
5810                              "Seconds";5732                              "Seconds";
5811                          }5733                          }
5812                        }5734                        }
5813                        description5735                        description
5814                          "Link state transmit delay";5736                          "Link state transmit delay";
5815                      }5737                      }
5816                    }5738                    }
5817                  }5739                  }
5818                  container sham-links {5740                  container sham-links {
5819                    description5741                    description
5820                      "Define a sham link";5742                      "Define a sham link";
5821                    list sham-link {5743                    list sham-link {
5822                      key "local-address remote-address";5744                      key "local-address remote-address";
5823                      description5745                      description
5824                        "Define a sham link";5746                        "Define a sham link";
5825                      leaf local-address {5747                      leaf local-address {
5826                        type inet:ipv6-address-no-zone;5748                        type inet:ipv6-address-no-zone;
5827                        description5749                        description
5828                          "Address of the local sham-link end-point";5750                          "Address of the local sham-link end-point";
5829                      }5751                      }
5830                      leaf remote-address {5752                      leaf remote-address {
5831                        type inet:ipv6-address-no-zone;5753                        type inet:ipv6-address-no-zone;
5832                        description5754                        description
5833                          "Address of the remote sham-link endpoint";5755                          "Address of the remote sham-link endpoint";
5834                      }5756                      }
5835                      container authentication {5757                      container authentication {
5836                        must "disable or ipsec/spi";5758                        must "disable or ipsec/spi";
5837                        presence "Indicates a authentication node is configured.";5759                        presence "Indicates a authentication node is configured.";
5838                        description5760                        description
5839                          "Authenticate OSPFv3 packets";5761                          "Authenticate OSPFv3 packets";
5840                        container disable {5762                        container disable {
5841                          must "not(../ipsec/spi)";5763                          must "not(../ipsec/spi)";
5842                          presence "Indicates a disable node is configured.";5764                          presence "Indicates a disable node is configured.";
5843                          description5765                          description
5844                            "Do not authenticate OSPFv3 packets";5766                            "Do not authenticate OSPFv3 packets";
5845                        }5767                        }
5846                        container ipsec {5768                        container ipsec {
5847                          description5769                          description
5848                            "Use IPSec AH authentication";5770                            "Use IPSec AH authentication";
5849                          container spi {5771                          container spi {
5850                            must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";5772                            must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
5851                            presence "Indicates a spi node is configured.";5773                            presence "Indicates a spi node is configured.";
5852                            description5774                            description
5853                              "Specify the Security Parameter Index value";5775                              "Specify the Security Parameter Index value";
5854                            leaf spi-index {5776                            leaf spi-index {
5855                              type uint32 {5777                              type uint32 {
5856                                range "256..4294967295" {5778                                range "256..4294967295" {
5857                                  description5779                                  description
5858                                    "Security Parameter Index value";5780                                    "Security Parameter Index value";
5859                                }5781                                }
5860                              }5782                              }
5861                              mandatory true;5783                              mandatory true;
5862                              description5784                              description
5863                                "Specify the Security Parameter Index value";5785                                "Specify the Security Parameter Index value";
5864                            }5786                            }
5865                            container md5 {5787                            container md5 {
5866                              description5788                              description
5867                                "Use the MD5 algorithim";5789                                "Use the MD5 algorithim";
5868                              container password {5790                              container password {
5869                                description5791                                description
5870                                  "Enter MD5 key in encrypted form";5792                                  "Enter MD5 key in encrypted form";
5871                                leaf encrypted {5793                                leaf encrypted {
5872                                  type xr:Proprietary-password;5794                                  type xr:Proprietary-password;
5873                                  description5795                                  description
5874                                    "Encrypted key";5796                                    "Encrypted key";
5875                                }5797                                }
5876                              }5798                              }
5877                            }5799                            }
5878                            container sha1 {5800                            container sha1 {
5879                              description5801                              description
5880                                "Use the SHA1 algorithim";5802                                "Use the SHA1 algorithim";
5881                              container password {5803                              container password {
5882                                description5804                                description
5883                                  "Enter SHA1 key in encrypted form";5805                                  "Enter SHA1 key in encrypted form";
5884                                leaf encrypted {5806                                leaf encrypted {
5885                                  type xr:Proprietary-password;5807                                  type xr:Proprietary-password;
5886                                  description5808                                  description
5887                                    "Encrypted key";5809                                    "Encrypted key";
5888                                }5810                                }
5889                              }5811                              }
5890                            }5812                            }
5891                          }5813                          }
5892                        }5814                        }
5893                      }5815                      }
5894                      container encryption {5816                      container encryption {
5895                        must "disable or ipsec/spi";5817                        must "disable or ipsec/spi";
5896                        presence "Indicates a encryption node is configured.";5818                        presence "Indicates a encryption node is configured.";
5897                        description5819                        description
5898                          "Encrypt and authenticate OSPFv3 packets";5820                          "Encrypt and authenticate OSPFv3 packets";
5899                        container disable {5821                        container disable {
5900                          must "not(../ipsec/spi)";5822                          must "not(../ipsec/spi)";
5901                          presence "Indicates a disable node is configured.";5823                          presence "Indicates a disable node is configured.";
5902                          description5824                          description
5903                            "Do not encrypt OSPFv3 packets";5825                            "Do not encrypt OSPFv3 packets";
5904                        }5826                        }
5905                        container ipsec {5827                        container ipsec {
5906                          description5828                          description
5907                            "Use IPSec ESP encryption and authentication";5829                            "Use IPSec ESP encryption and authentication";
5908                          container spi {5830                          container spi {
5909                            must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";5831                            must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
5910                            presence "Indicates a spi node is configured.";5832                            presence "Indicates a spi node is configured.";
5911                            description5833                            description
5912                              "Specify the Security Parameter Index value";5834                              "Specify the Security Parameter Index value";
5913                            leaf spi-index {5835                            leaf spi-index {
5914                              type uint32 {5836                              type uint32 {
5915                                range "256..4294967295" {5837                                range "256..4294967295" {
5916                                  description5838                                  description
5917                                    "Security Parameter Index value";5839                                    "Security Parameter Index value";
5918                                }5840                                }
5919                              }5841                              }
5920                              mandatory true;5842                              mandatory true;
5921                              description5843                              description
5922                                "Specify the Security Parameter Index value";5844                                "Specify the Security Parameter Index value";
5923                            }5845                            }
5924                            container esp {5846                            container esp {
5925                              description5847                              description
5926                                "Specify encryption parameters";5848                                "Specify encryption parameters";
5927                              container null {5849                              container null {
5928                                must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";5850                                must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
5929                                presence "Indicates a null node is configured.";5851                                presence "Indicates a null node is configured.";
5930                                description5852                                description
5931                                  "Use NULL encryption";5853                                  "Use NULL encryption";
5932                              }5854                              }
5933                              container des {5855                              container des {
5934                                description5856                                description
5935                                  "Use the DES algorithim. Encrypted DES key (34 hex digits)";5857                                  "Use the DES algorithim. Encrypted DES key (34 hex digits)";
5936                                container password {5858                                container password {
5937                                  description5859                                  description
5938                                    "Enter DES key in encrypted form";5860                                    "Enter DES key in encrypted form";
5939                                  leaf encrypted {5861                                  leaf encrypted {
5940                                    type xr:Proprietary-password;5862                                    type xr:Proprietary-password;
5941                                    must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5863                                    must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5942                                    descriptionn
5943                                      "Encrypted key";
5944                                  }5864                                  }
5945                                }5865                                }
5946                              }5866                              }
5947                              container triple-des {5867                              container triple-des {
5948                                description5868                                description
5949                                  "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";5869                                  "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
5950                                container password {5870                                container password {
5951                                  description5871                                  description
5952                                    "Enter 3DES key in encrypted form";5872                                    "Enter 3DES key in encrypted form";
5953                                  leaf encrypted {5873                                  leaf encrypted {
5954                                    type xr:Proprietary-password;5874                                    type xr:Proprietary-password;
5955                                    must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5875                                    must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5956                                    descriptionn
5957                                      "Encrypted key";
5958                                  }5876                                  }
5959                                }5877                                }
5960                              }5878                              }
5961                              container aes {5879                              container aes {
5962                                description5880                                description
5963                                  "Use the AES algorithim. Encrypted AES key (32 hex digits)";5881                                  "Use the AES algorithim. Encrypted AES key (32 hex digits)";
5964                                container password {5882                                container password {
5965                                  description5883                                  description
5966                                    "Enter AES key in encrypted form";5884                                    "Enter AES key in encrypted form";
5967                                  leaf encrypted {5885                                  leaf encrypted {
5968                                    type xr:Proprietary-password;5886                                    type xr:Proprietary-password;
5969                                    must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";5887                                    must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n5970                                    descriptionn
5971                                      "Encrypted key";
5972                                  }5888                                  }
5973                                }5889                                }
5974                                container aes-192 {5890                                container aes-192 {
5975                                  description5891                                  description
5976                                    "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";5892                                    "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
5977                                  container password {5893                                  container password {
5978                                    description5894                                    description
5979                                      "Enter AES-192 key in encrypted form";5895                                      "Enter AES-192 key in encrypted form";
5980                                    leaf encrypted {5896                                    leaf encrypted {
5981                                      type xr:Proprietary-password;5897                                      type xr:Proprietary-password;
5982                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";5898                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n5983                                      descriptionn
5984                                        "Encrypted key";
5985                                    }5899                                    }
5986                                  }5900                                  }
5987                                }5901                                }
5988                                container aes-256 {5902                                container aes-256 {
5989                                  description5903                                  description
5990                                    "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";5904                                    "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
5991                                  container password {5905                                  container password {
5992                                    description5906                                    description
5993                                      "Enter AES-256 key in encrypted form";5907                                      "Enter AES-256 key in encrypted form";
5994                                    leaf encrypted {5908                                    leaf encrypted {
5995                                      type xr:Proprietary-password;5909                                      type xr:Proprietary-password;
5996                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";5910                                      must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n5997                                      descriptionn
5998                                        "Encrypted key";
5999                                    }5911                                    }
6000                                  }5912                                  }
6001                                }5913                                }
6002                              }5914                              }
6003                              container authentication {5915                              container authentication {
6004                                must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";5916                                must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
6005                                presence "Indicates a authentication node is configured.";5917                                presence "Indicates a authentication node is configured.";
6006                                description5918                                description
6007                                  "Specify authentication parameters";5919                                  "Specify authentication parameters";
6008                                container md5 {5920                                container md5 {
6009                                  description5921                                  description
6010                                    "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";5922                                    "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
6011                                  container password {5923                                  container password {
6012                                    description5924                                    description
6013                                      "Enter MD5 key in encrypted form";5925                                      "Enter MD5 key in encrypted form";
6014                                    leaf encrypted {5926                                    leaf encrypted {
6015                                      type xr:Proprietary-password;5927                                      type xr:Proprietary-password;
6016                                      description5928                                      description
6017                                        "Enter key in encrypted form";5929                                        "Enter key in encrypted form";
6018                                    }5930                                    }
6019                                  }5931                                  }
6020                                }5932                                }
6021                                container sha1 {5933                                container sha1 {
6022                                  description5934                                  description
6023                                    "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";5935                                    "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
6024                                  container password {5936                                  container password {
6025                                    description5937                                    description
6026                                      "Enter SHA1 key in encrypted form";5938                                      "Enter SHA1 key in encrypted form";
6027                                    leaf encrypted {5939                                    leaf encrypted {
6028                                      type xr:Proprietary-password;5940                                      type xr:Proprietary-password;
6029                                      description5941                                      description
6030                                        "Enter key in encrypted form";5942                                        "Enter key in encrypted form";
6031                                    }5943                                    }
6032                                  }5944                                  }
6033                                }5945                                }
6034                                container null {5946                                container null {
6035                                  must "not(../../null)";5947                                  must "not(../../null)";
6036                                  presence "Indicates a null node is configured.";5948                                  presence "Indicates a null node is configured.";
6037                                  description5949                                  description
6038                                    "Use NULL authentication";5950                                    "Use NULL authentication";
6039                                }5951                                }
6040                              }5952                              }
6041                            }5953                            }
6042                          }5954                          }
6043                        }5955                        }
6044                      }5956                      }
6045                      leaf cost {5957                      leaf cost {
6046                        type uint32 {5958                        type uint32 {
6047                          range "1..65535" {5959                          range "1..65535" {
6048                            description5960                            description
6049                              "Cost";5961                              "Cost";
6050                          }5962                          }
6051                        }5963                        }
6052                        description5964                        description
6053                          "Sham-link cost";5965                          "Sham-link cost";
6054                      }5966                      }
6055                      leaf hello-interval {5967                      leaf hello-interval {
6056                        type uint32 {5968                        type uint32 {
6057                          range "1..65535" {5969                          range "1..65535" {
6058                            description5970                            description
6059                              "Seconds";5971                              "Seconds";
6060                          }5972                          }
6061                        }5973                        }
6062                        description5974                        description
6063                          "Time between HELLO packets";5975                          "Time between HELLO packets";
6064                      }5976                      }
6065                      leaf dead-interval {5977                      leaf dead-interval {
6066                        type uint32 {5978                        type uint32 {
6067                          range "1..65535" {5979                          range "1..65535" {
6068                            description5980                            description
6069                              "Seconds";5981                              "Seconds";
6070                          }5982                          }
6071                        }5983                        }
6072                        description5984                        description
6073                          "Interval after which a neighbor is declared dead";5985                          "Interval after which a neighbor is declared dead";
6074                      }5986                      }
6075                      leaf retransmit-interval {5987                      leaf retransmit-interval {
6076                        type uint32 {5988                        type uint32 {
6077                          range "1..65535" {5989                          range "1..65535" {
6078                            description5990                            description
6079                              "Seconds";5991                              "Seconds";
6080                          }5992                          }
6081                        }5993                        }
6082                        description5994                        description
6083                          "Delay between LSA retransmissions";5995                          "Delay between LSA retransmissions";
6084                      }5996                      }
6085                      leaf transmit-delay {5997                      leaf transmit-delay {
6086                        type uint32 {5998                        type uint32 {
6087                          range "1..65535" {5999                          range "1..65535" {
6088                            description6000                            description
6089                              "Seconds";6001                              "Seconds";
6090                          }6002                          }
6091                        }6003                        }
6092                        description6004                        description
6093                          "Link state transmit delay";6005                          "Link state transmit delay";
6094                      }6006                      }
6095                    }6007                    }
6096                  }6008                  }
6097                }6009                }
6098              }6010              }
6099              container auto-cost {6011              container auto-cost {
6100                presence "Indicates a auto-cost node is configured.";6012                presence "Indicates a auto-cost node is configured.";
6101                description6013                description
6102                  "Calculate interface cost according to bandwidth";6014                  "Calculate interface cost according to bandwidth";
6103                leaf reference-bandwidth {6015                leaf reference-bandwidth {
6104                  type uint32 {6016                  type uint32 {
6105                    range "1..4294967" {6017                    range "1..4294967" {
6106                      description6018                      description
6107                        "The reference bandwidth in terms of Mbits per second";6019                        "The reference bandwidth in terms of Mbits per second";
6108                    }6020                    }
6109                  }6021                  }
6110                  description6022                  description
6111                    "Specify reference bandwidth for cost computations";6023                    "Specify reference bandwidth for cost computations";
6112                }6024                }
6113                container disable {6025                container disable {
6114                  presence "Indicates a disable node is configured.";6026                  presence "Indicates a disable node is configured.";
6115                  description6027                  description
6116                    "Assign cost based on interface type";6028                    "Assign cost based on interface type";
6117                }6029                }
6118              }6030              }
6119              container default-information {6031              container default-information {
6120                description6032                description
6121                  "Control distribution of default information";6033                  "Control distribution of default information";
6122                container originate {6034                container originate {
6123                  presence "Indicates a originate node is configured.";6035                  presence "Indicates a originate node is configured.";
6124                  description6036                  description
6125                    "Distribute a default route";6037                    "Distribute a default route";
6126                  container always {6038                  container always {
6127                    presence "Indicates a always node is configured.";6039                    presence "Indicates a always node is configured.";
6128                    description6040                    description
6129                      "Always advertise default route";6041                      "Always advertise default route";
6130                  }6042                  }
6131                  leaf metric {6043                  leaf metric {
6132                    type uint32 {6044                    type uint32 {
6133                      range "0..16777214" {6045                      range "0..16777214" {
6134                        description6046                        description
6135                          "OSPFv3 metric";6047                          "OSPFv3 metric";
6136                      }6048                      }
6137                    }6049                    }
6138                    description6050                    description
6139                      "OSPFv3 default metric";6051                      "OSPFv3 default metric";
6140                  }6052                  }
6141                  leaf metric-type {6053                  leaf metric-type {
6142                    type uint32 {6054                    type uint32 {
6143                      range "1..2" {6055                      range "1..2" {
6144                        description6056                        description
6145                          "OSPFv3 Link State type";6057                          "OSPFv3 Link State type";
6146                      }6058                      }
6147                    }6059                    }
6148                    description6060                    description
6149                      "OSPFv3 metric type for default routes";6061                      "OSPFv3 metric type for default routes";
6150                  }6062                  }
6151                  leaf tag {6063                  leaf tag {
6152                    type uint32 {6064                    type uint32 {
6153                      range "0..4294967295" {6065                      range "0..4294967295" {
6154                        description6066                        description
6155                          "32-bit tag value";6067                          "32-bit tag value";
6156                      }6068                      }
6157                    }6069                    }
6158                    description6070                    description
6159                      "Set tag for default route";6071                      "Set tag for default route";
6160                  }6072                  }
6161                  leaf route-policy {6073                  leaf route-policy {
6162                    type xr:Route-policy-name;6074                    type xr:Route-policy-name;
6163                    description6075                    description
6164                      "Apply route policy to default-information origination";6076                      "Apply route policy to default-information origination";
6165                  }6077                  }
6166                }6078                }
6167              }6079              }
6168              leaf default-metric {6080              leaf default-metric {
6169                type uint32 {6081                type uint32 {
6170                  range "1..16777214" {6082                  range "1..16777214" {
6171                    description6083                    description
6172                      "Default metric";6084                      "Default metric";
6173                  }6085                  }
6174                }6086                }
6175                description6087                description
6176                  "Set metric of redistributed routes";6088                  "Set metric of redistributed routes";
6177              }6089              }
6178              container distance {6090              container distance {
6179                description6091                description
6180                  "Define an administrative distance";6092                  "Define an administrative distance";
6181                leaf administrative-distance {6093                leaf administrative-distance {
6182                  type uint32 {6094                  type uint32 {
6183                    range "1..255" {6095                    range "1..255" {
6184                      description6096                      description
6185                        "Administrative distance";6097                        "Administrative distance";
6186                    }6098                    }
6187                  }6099                  }
6188                  description6100                  description
6189                    "Define an administrative distance";6101                    "Define an administrative distance";
6190                }6102                }
6191                container ospfv3 {6103                container ospfv3 {
6192                  description6104                  description
6193                    "OSPFv3 administrative distance";6105                    "OSPFv3 administrative distance";
6194                  leaf intra-area {6106                  leaf intra-area {
6195                    type uint32 {6107                    type uint32 {
6196                      range "1..255" {6108                      range "1..255" {
6197                        description6109                        description
6198                          "Distance for intra-area routes";6110                          "Distance for intra-area routes";
6199                      }6111                      }
6200                    }6112                    }
6201                    description6113                    description
6202                      "Intra-area routes";6114                      "Intra-area routes";
6203                  }6115                  }
6204                  leaf inter-area {6116                  leaf inter-area {
6205                    type uint32 {6117                    type uint32 {
6206                      range "1..255" {6118                      range "1..255" {
6207                        description6119                        description
6208                          "Distance for inter-area routes";6120                          "Distance for inter-area routes";
6209                      }6121                      }
6210                    }6122                    }
6211                    description6123                    description
6212                      "Inter-area routes";6124                      "Inter-area routes";
6213                  }6125                  }
6214                  leaf external {6126                  leaf external {
6215                    type uint32 {6127                    type uint32 {
6216                      range "1..255" {6128                      range "1..255" {
6217                        description6129                        description
6218                          "Distance for external type 5 and type 7 routes";6130                          "Distance for external type 5 and type 7 routes";
6219                      }6131                      }
6220                    }6132                    }
6221                    description6133                    description
6222                      "External type 5 and type 7 routes";6134                      "External type 5 and type 7 routes";
6223                  }6135                  }
6224                }6136                }
6225              }6137              }
6226              container distribute-list {6138              container distribute-list {
6227                description6139                description
6228                  "Filter prefixes to/from RIB";6140                  "Filter prefixes to/from RIB";
6229                container prefix-list {6141                container prefix-list {
6230                  description6142                  description
6231                    "Filter prefixes based on an IPv6 prefix-list";6143                    "Filter prefixes based on an IPv6 prefix-list";
6232                  container in {6144                  container in {
6233                    presence "Indicates a prefix-list-name node is configured.";6145                    presence "Indicates a prefix-list-name node is configured.";
6234                    description6146                    description
6235                      "Filter prefixes installed to RIB";6147                      "Filter prefixes installed to RIB";
6236                    leaf prefix-list-name {6148                    leaf prefix-list-name {
6237                      type string {6149                      type string {
6238                        length "1..1024" {6150                        length "1..1024" {
6239                          description6151                          description
6240                            "Prefix-list name";6152                            "Prefix-list name";
6241                        }6153                        }
6242                      }6154                      }
6243                      mandatory true;6155                      mandatory true;
6244                      description6156                      description
6245                        "Prefix-list name";6157                        "Prefix-list name";
6246                    }6158                    }
6247                  }6159                  }
6248                  container out {6160                  container out {
6249                    description6161                    description
6250                      "Filter prefixes redistributed from RIB ";6162                      "Filter prefixes redistributed from RIB ";
6251                    leaf prefix-list-name {6163                    leaf prefix-list-name {
6252                      type xr:Cisco-ios-xr-string {6164                      type xr:Cisco-ios-xr-string {
6253                        length "1..1024" {6165                        length "1..1024" {
6254                          description6166                          description
6255                            "Prefix-list name";6167                            "Prefix-list name";
6256                        }6168                        }
6257                      }6169                      }
6258                      description6170                      description
6259                        "Prefix-list name";6171                        "Prefix-list name";
6260                    }6172                    }
6261                    container connected {6173                    container connected {
6262                      presence "Indicates a connected node is configured.";6174                      presence "Indicates a connected node is configured.";
6263                      description6175                      description
6264                        "Connected routes";6176                        "Connected routes";
6265                      leaf prefix-list-name {6177                      leaf prefix-list-name {
6266                        type string {6178                        type string {
6267                          length "1..1024" {6179                          length "1..1024" {
6268                            description6180                            description
6269                              "Prefix-list name";6181                              "Prefix-list name";
6270                          }6182                          }
6271                        }6183                        }
6272                        mandatory true;6184                        mandatory true;
6273                        description6185                        description
6274                          "Prefix-list name";6186                          "Prefix-list name";
6275                      }6187                      }
6276                    }6188                    }
6277                    container static {6189                    container static {
6278                      presence "Indicates a static node is configured.";6190                      presence "Indicates a static node is configured.";
6279                      description6191                      description
6280                        "Static routes";6192                        "Static routes";
6281                      leaf prefix-list-name {6193                      leaf prefix-list-name {
6282                        type string {6194                        type string {
6283                          length "1..1024" {6195                          length "1..1024" {
6284                            description6196                            description
6285                              "Prefix-list name";6197                              "Prefix-list name";
6286                          }6198                          }
6287                        }6199                        }
6288                        mandatory true;6200                        mandatory true;
6289                        description6201                        description
6290                          "Prefix-list name";6202                          "Prefix-list name";
6291                      }6203                      }
6292                    }6204                    }
6293                    container bgp {6205                    container bgp {
6294                      description6206                      description
6295                        "BGP routes";6207                        "BGP routes";
6296                      list as {6208                      list as {
6297                        key "as-number";6209                        key "as-number";
6298                        description6210                        description
6299                          "bgp as-number";6211                          "bgp as-number";
6300                        leaf as-number {6212                        leaf as-number {
6301                          type xr:Bgp-as-number;6213                          type xr:Bgp-as-number;
6302                          description6214                          description
6303                            "bgp as-number";6215                            "bgp as-number";
6304                        }6216                        }
6305                        leaf prefix-list-name {6217                        leaf prefix-list-name {
6306                          type string {6218                          type string {
6307                            length "1..1024" {6219                            length "1..1024" {
6308                              description6220                              description
6309                                "Prefix-list name";6221                                "Prefix-list name";
6310                            }6222                            }
6311                          }6223                          }
6312                          mandatory true;6224                          mandatory true;
6313                          description6225                          description
6314                            "Prefix-list name";6226                            "Prefix-list name";
6315                        }6227                        }
6316                      }6228                      }
6317                    }6229                    }
6318                    list ospfv3 {6230                    list ospfv3 {
6319                      key "instance-name";6231                      key "instance-name";
6320                      description6232                      description
6321                        "OSPFv3 routes";6233                        "OSPFv3 routes";
6322                      leaf instance-name {6234                      leaf instance-name {
6323                        type string {6235                        type string {
6324                          length "1..1024" {6236                          length "1..1024" {
6325                            description6237                            description
6326                              "OSPFv3 instance name";6238                              "OSPFv3 instance name";
6327                          }6239                          }
6328                        }6240                        }
6329                        description6241                        description
6330                          "OSPFv3 routes";6242                          "OSPFv3 routes";
6331                      }6243                      }
6332                      leaf prefix-list-name {6244                      leaf prefix-list-name {
6333                        type string {6245                        type string {
6334                          length "1..1024" {6246                          length "1..1024" {
6335                            description6247                            description
6336                              "Prefix-list name";6248                              "Prefix-list name";
6337                          }6249                          }
6338                        }6250                        }
6339                        mandatory true;6251                        mandatory true;
6340                        description6252                        description
6341                          "Prefix-list name";6253                          "Prefix-list name";
6342                      }6254                      }
6343                    }6255                    }
6344                    list isis {6256                    list isis {
6345                      key "instance-name";6257                      key "instance-name";
6346                      description6258                      description
6347                        "IS-IS routes";6259                        "IS-IS routes";
6348                      leaf instance-name {6260                      leaf instance-name {
6349                        type string {6261                        type string {
6350                          length "1..1024" {6262                          length "1..1024" {
6351                            description6263                            description
6352                              "IS-IS instance name";6264                              "IS-IS instance name";
6353                          }6265                          }
6354                        }6266                        }
6355                        description6267                        description
6356                          "IS-IS routes";6268                          "IS-IS routes";
6357                      }6269                      }
6358                      leaf prefix-list-name {6270                      leaf prefix-list-name {
6359                        type string {6271                        type string {
6360                          length "1..1024" {6272                          length "1..1024" {
6361                            description6273                            description
6362                              "Prefix-list name";6274                              "Prefix-list name";
6363                          }6275                          }
6364                        }6276                        }
6365                        mandatory true;6277                        mandatory true;
6366                        description6278                        description
6367                          "Prefix-list name";6279                          "Prefix-list name";
6368                      }6280                      }
6369                    }6281                    }
6370                    list eigrp {6282                    list eigrp {
6371                      key "as-number";6283                      key "as-number";
6372                      description6284                      description
6373                        "EIGRP routes";6285                        "EIGRP routes";
6374                      leaf as-number {6286                      leaf as-number {
6375                        type uint32 {6287                        type uint32 {
6376                          range "1..65535" {6288                          range "1..65535" {
6377                            description6289                            description
6378                              "EIGRP AS number";6290                              "EIGRP AS number";
6379                          }6291                          }
6380                        }6292                        }
6381                        description6293                        description
6382                          "EIGRP routes";6294                          "EIGRP routes";
6383                      }6295                      }
6384                      leaf prefix-list-name {6296                      leaf prefix-list-name {
6385                        type string {6297                        type string {
6386                          length "1..1024" {6298                          length "1..1024" {
6387                            description6299                            description
6388                              "Prefix-list name";6300                              "Prefix-list name";
6389                          }6301                          }
6390                        }6302                        }
6391                        mandatory true;6303                        mandatory true;
6392                        description6304                        description
6393                          "Prefix-list name";6305                          "Prefix-list name";
6394                      }6306                      }
6395                    }6307                    }
6396                  }6308                  }
6397                }6309                }
6398              }6310              }
6399              leaf packet-size {6311              leaf packet-size {
6400                type uint32 {6312                type uint32 {
6401                  range "256..10000" {6313                  range "256..10000" {
6402                    description6314                    description
6403                      "OSPFv3 packet size limit";6315                      "OSPFv3 packet size limit";
6404                  }6316                  }
6405                }6317                }
6406                description6318                description
6407                  "Limit size of OSPFv3 packets";6319                  "Limit size of OSPFv3 packets";
6408              }6320              }
6409              container fast-reroute {6321              container fast-reroute {
6410                description6322                description
6411                  "IP Fast Reroute";6323                  "IP Fast Reroute";
6412                container per-link {6324                container per-link {
6413                  description6325                  description
6414                    "Per-link Computation";6326                    "Per-link Computation";
6415                  container enable {6327                  container enable {
6416                    must "not(../../per-prefix/enable)";6328                    must "not(../../per-prefix/enable)";
6417                    presence "Indicates a per-link node is configured.";6329                    presence "Indicates a per-link node is configured.";
6418                    description6330                    description
6419                      "Enable per-link Computation";6331                      "Enable per-link Computation";
6420                  }6332                  }
6421                  container exclude {6333                  container exclude {
6422                    description6334                    description
6423                      "Per-link LFA exclusion information";6335                      "Per-link LFA exclusion information";
6424                    container interfaces {6336                    container interfaces {
6425                      description6337                      description
6426                        "Exclude an interface from Per-link LFA";6338                        "Exclude an interface from Per-link LFA";
6427                      list interface {6339                      list interface {
6428                        key "interface-name";6340                        key "interface-name";
6429                        description6341                        description
6430                          "Exclude an interface from Per-link LFA";6342                          "Exclude an interface from Per-link LFA";
6431                        leaf interface-name {6343                        leaf interface-name {
6432                          type xr:Interface-name;6344                          type xr:Interface-name;
6433                          description6345                          description
6434                            "Exclude an interface from Per-link LFA";6346                            "Exclude an interface from Per-link LFA";
6435                        }6347                        }
6436                      }6348                      }
6437                    }6349                    }
6438                  }6350                  }
6439                  container lfa-candidate {6351                  container lfa-candidate {
6440                    description6352                    description
6441                      "FRR LFA candidate information";6353                      "FRR LFA candidate information";
6442                    container interfaces {6354                    container interfaces {
6443                      description6355                      description
6444                        "Include an interface to LFA candidate in computation";6356                        "Include an interface to LFA candidate in computation";
6445                      list interface {6357                      list interface {
6446                        key "interface-name";6358                        key "interface-name";
6447                        description6359                        description
6448                          "Include an interface to LFA candidate in computation";6360                          "Include an interface to LFA candidate in computation";
6449                        leaf interface-name {6361                        leaf interface-name {
6450                          type xr:Interface-name;6362                          type xr:Interface-name;
6451                          description6363                          description
6452                            "Include an interface to LFA candidate in computation";6364                            "Include an interface to LFA candidate in computation";
6453                        }6365                        }
6454                      }6366                      }
6455                    }6367                    }
6456                  }6368                  }
6457                  container use-candidate-only {6369                  container use-candidate-only {
6458                    description6370                    description
6459                      "Enable/Disable backup selection from candidate-list only";6371                      "Enable/Disable backup selection from candidate-list only";
6460                    container enable {6372                    container enable {
6461                      must "not(../disable)";6373                      must "not(../disable)";
6462                      presence "Indicates a enable node is configured.";6374                      presence "Indicates a enable node is configured.";
6463                      description6375                      description
6464                        "Enable backup selection from candidate-list only";6376                        "Enable backup selection from candidate-list only";
6465                    }6377                    }
6466                    container disable {6378                    container disable {
6467                      must "not(../enable)";6379                      must "not(../enable)";
6468                      presence "Indicates a disable node is configured.";6380                      presence "Indicates a disable node is configured.";
6469                      description6381                      description
6470                        "Disable backup selection from candidate-list only";6382                        "Disable backup selection from candidate-list only";
6471                    }6383                    }
6472                  }6384                  }
6473                  container priority-limit {6385                  container priority-limit {
6474                    description6386                    description
6475                      "Limit backup computation upto the prefix priority";6387                      "Limit backup computation upto the prefix priority";
6476                    container critical {6388                    container critical {
6477                      presence "Indicates a critical node is configured.";6389                      presence "Indicates a critical node is configured.";
6478                      description6390                      description
6479                        "Compute for critical priority prefixes only";6391                        "Compute for critical priority prefixes only";
6480                    }6392                    }
6481                    container high {6393                    container high {
6482                      presence "Indicates a high node is configured.";6394                      presence "Indicates a high node is configured.";
6483                      description6395                      description
6484                        "Compute for critical & high priority prefixes ";6396                        "Compute for critical & high priority prefixes ";
6485                    }6397                    }
6486                    container medium {6398                    container medium {
6487                      presence "Indicates a medium node is configured.";6399                      presence "Indicates a medium node is configured.";
6488                      description6400                      description
6489                        "Compute for critical, high & medium priority prefixes ";6401                        "Compute for critical, high & medium priority prefixes ";
6490                    }6402                    }
6491                  }6403                  }
6492                }6404                }
6493                container per-prefix {6405                container per-prefix {
6494                  description6406                  description
6495                    "Per-prefix Computation";6407                    "Per-prefix Computation";
6496                  container enable {6408                  container enable {
6497                    must "not(../../per-link/enable)";6409                    must "not(../../per-link/enable)";
6498                    presence "Indicates a per-prefix node is configured.";6410                    presence "Indicates a per-prefix node is configured.";
6499                    description6411                    description
6500                      "Enable per-prefix Computation";6412                      "Enable per-prefix Computation";
6501                  }6413                  }
6502                  container exclude {6414                  container exclude {
6503                    description6415                    description
6504                      "Per-prefix LFA exclusion information";6416                      "Per-prefix LFA exclusion information";
6505                    container interfaces {6417                    container interfaces {
6506                      description6418                      description
6507                        "Exclude an interface from Per-prefix LFA";6419                        "Exclude an interface from Per-prefix LFA";
6508                      list interface {6420                      list interface {
6509                        key "interface-name";6421                        key "interface-name";
6510                        description6422                        description
6511                          "Exclude an interface from Per-prefix LFA";6423                          "Exclude an interface from Per-prefix LFA";
6512                        leaf interface-name {6424                        leaf interface-name {
6513                          type xr:Interface-name;6425                          type xr:Interface-name;
6514                          description6426                          description
6515                            "Exclude an interface from Per-prefix LFA";6427                            "Exclude an interface from Per-prefix LFA";
6516                        }6428                        }
6517                      }6429                      }
6518                    }6430                    }
6519                  }6431                  }
6520                  container lfa-candidate {6432                  container lfa-candidate {
6521                    description6433                    description
6522                      "FRR LFA candidate information";6434                      "FRR LFA candidate information";
6523                    container interfaces {6435                    container interfaces {
6524                      description6436                      description
6525                        "Include an interface to LFA candidate in computation";6437                        "Include an interface to LFA candidate in computation";
6526                      list interface {6438                      list interface {
6527                        key "interface-name";6439                        key "interface-name";
6528                        description6440                        description
6529                          "Include an interface to LFA candidate in computation";6441                          "Include an interface to LFA candidate in computation";
6530                        leaf interface-name {6442                        leaf interface-name {
6531                          type xr:Interface-name;6443                          type xr:Interface-name;
6532                          description6444                          description
6533                            "Include an interface to LFA candidate in computation";6445                            "Include an interface to LFA candidate in computation";
6534                        }6446                        }
6535                      }6447                      }
6536                    }6448                    }
6537                  }6449                  }
6538                  container use-candidate-only {6450                  container use-candidate-only {
6539                    description6451                    description
6540                      "Enable/Disable backup selection from candidate-list only";6452                      "Enable/Disable backup selection from candidate-list only";
6541                    container enable {6453                    container enable {
6542                      must "not(../disable)";6454                      must "not(../disable)";
6543                      presence "Indicates a enable node is configured.";6455                      presence "Indicates a enable node is configured.";
6544                      description6456                      description
6545                        "Enable backup selection from candidate-list only";6457                        "Enable backup selection from candidate-list only";
6546                    }6458                    }
6547                    container disable {6459                    container disable {
6548                      must "not(../enable)";6460                      must "not(../enable)";
6549                      presence "Indicates a disable node is configured.";6461                      presence "Indicates a disable node is configured.";
6550                      description6462                      description
6551                        "Disable backup selection from candidate-list only";6463                        "Disable backup selection from candidate-list only";
6552                    }6464                    }
6553                  }6465                  }
6554                  container priority-limit {6466                  container priority-limit {
6555                    description6467                    description
6556                      "Limit backup computation upto the prefix priority";6468                      "Limit backup computation upto the prefix priority";
6557                    container critical {6469                    container critical {
6558                      presence "Indicates a critical node is configured.";6470                      presence "Indicates a critical node is configured.";
6559                      description6471                      description
6560                        "Compute for critical priority prefixes only";6472                        "Compute for critical priority prefixes only";
6561                    }6473                    }
6562                    container high {6474                    container high {
6563                      presence "Indicates a high node is configured.";6475                      presence "Indicates a high node is configured.";
6564                      description6476                      description
6565                        "Compute for critical & high priority prefixes ";6477                        "Compute for critical & high priority prefixes ";
6566                    }6478                    }
6567                    container medium {6479                    container medium {
6568                      presence "Indicates a medium node is configured.";6480                      presence "Indicates a medium node is configured.";
6569                      description6481                      description
6570                        "Compute for critical, high & medium priority prefixes ";6482                        "Compute for critical, high & medium priority prefixes ";
6571                    }6483                    }
6572                  }6484                  }
6573                  container tiebreaker {6485                  container tiebreaker {
6574                    description6486                    description
6575                      "Configure tiebreaker for multiple backups";6487                      "Configure tiebreaker for multiple backups";
6576                    container downstream {6488                    container downstream {
6577                      description6489                      description
6578                        "Prefer backup path via downstream node";6490                        "Prefer backup path via downstream node";
6579                      leaf index {6491                      leaf index {
6580                        type uint32 {6492                        type uint32 {
6581                          range "1..255" {6493                          range "1..255" {
6582                            description6494                            description
6583                              "Index";6495                              "Index";
6584                          }6496                          }
6585                        }6497                        }
6586                        description6498                        description
6587                          "Set preference order among tiebreakers";6499                          "Set preference order among tiebreakers";
6588                      }6500                      }
6589                    }6501                    }
6590                    container lc-disjoint {6502                    container lc-disjoint {
6591                      description6503                      description
6592                        "Prefer line card disjoint backup path";6504                        "Prefer line card disjoint backup path";
6593                      leaf index {6505                      leaf index {
6594                        type uint32 {6506                        type uint32 {
6595                          range "1..255" {6507                          range "1..255" {
6596                            description6508                            description
6597                              "Index";6509                              "Index";
6598                          }6510                          }
6599                        }6511                        }
6600                        description6512                        description
6601                          "Set preference order among tiebreakers";6513                          "Set preference order among tiebreakers";
6602                      }6514                      }
6603                    }6515                    }
6604                    container lowest-backup-metric {6516                    container lowest-backup-metric {
6605                      description6517                      description
6606                        "Prefer backup path with lowest total metric";6518                        "Prefer backup path with lowest total metric";
6607                      leaf index {6519                      leaf index {
6608                        type uint32 {6520                        type uint32 {
6609                          range "1..255" {6521                          range "1..255" {
6610                            description6522                            description
6611                              "Index";6523                              "Index";
6612                          }6524                          }
6613                        }6525                        }
6614                        description6526                        description
6615                          "Set preference order among tiebreakers";6527                          "Set preference order among tiebreakers";
6616                      }6528                      }
6617                    }6529                    }
6618                    container node-protecting {6530                    container node-protecting {
6619                      description6531                      description
6620                        "Prefer node protecting backup path";6532                        "Prefer node protecting backup path";
6621                      leaf index {6533                      leaf index {
6622                        type uint32 {6534                        type uint32 {
6623                          range "1..255" {6535                          range "1..255" {
6624                            description6536                            description
6625                              "Index";6537                              "Index";
6626                          }6538                          }
6627                        }6539                        }
6628                        description6540                        description
6629                          "Set preference order among tiebreakers";6541                          "Set preference order among tiebreakers";
6630                      }6542                      }
6631                    }6543                    }
6632                    container primary-path {6544                    container primary-path {
6633                      description6545                      description
6634                        "Prefer backup path from ECMP set";6546                        "Prefer backup path from ECMP set";
6635                      leaf index {6547                      leaf index {
6636                        type uint32 {6548                        type uint32 {
6637                          range "1..255" {6549                          range "1..255" {
6638                            description6550                            description
6639                              "Index";6551                              "Index";
6640                          }6552                          }
6641                        }6553                        }
6642                        description6554                        description
6643                          "Set preference order among tiebreakers";6555                          "Set preference order among tiebreakers";
6644                      }6556                      }
6645                    }6557                    }
6646                    container secondary-path {6558                    container secondary-path {
6647                      description6559                      description
6648                        "Prefer non-ECMP backup path";6560                        "Prefer non-ECMP backup path";
6649                      leaf index {6561                      leaf index {
6650                        type uint32 {6562                        type uint32 {
6651                          range "1..255" {6563                          range "1..255" {
6652                            description6564                            description
6653                              "Index";6565                              "Index";
6654                          }6566                          }
6655                        }6567                        }
6656                        description6568                        description
6657                          "Set preference order among tiebreakers";6569                          "Set preference order among tiebreakers";
6658                      }6570                      }
6659                    }6571                    }
6660                    container srlg-disjoint {6572                    container srlg-disjoint {
6661                      description6573                      description
6662                        "Prefer SRLG disjoint backup path";6574                        "Prefer SRLG disjoint backup path";
6663                      leaf index {6575                      leaf index {
6664                        type uint32 {6576                        type uint32 {
6665                          range "1..255" {6577                          range "1..255" {
6666                            description6578                            description
6667                              "Index";6579                              "Index";
6668                          }6580                          }
6669                        }6581                        }
6670                        description6582                        description
6671                          "Set preference order among tiebreakers";6583                          "Set preference order among tiebreakers";
6672                      }6584                      }
6673                    }6585                    }
6674                  }6586                  }
6675                  container load-sharing {6587                  container load-sharing {
6676                    description6588                    description
6677                      "Load share prefixes across multiple backups";6589                      "Load share prefixes across multiple backups";
6678                    container disable {6590                    container disable {
6679                      presence "Indicates a disable node is configured.";6591                      presence "Indicates a disable node is configured.";
6680                      description6592                      description
6681                        "Disable load sharing";6593                        "Disable load sharing";
6682                    }6594                    }
6683                  }6595                  }
6684                }6596                }
6685                container disable {6597                container disable {
6686                  presence "Indicates a disable node is configured.";6598                  presence "Indicates a disable node is configured.";
6687                  description6599                  description
6688                    "Disable IP Fast Reroute";6600                    "Disable IP Fast Reroute";
6689                }6601                }
6690              }6602              }
6691              container prefix-suppression {6603              container prefix-suppression {
6692                presence "Indicates a prefix-suppression node is configured.";6604                presence "Indicates a prefix-suppression node is configured.";
6693                description6605                description
6694                  "Hide all transit addresses on this interface";6606                  "Hide all transit addresses on this interface";
6695              }6607              }
6696              container bfd {6608              container bfd {
6697                description6609                description
6698                  "Configure BFD parameters";6610                  "Configure BFD parameters";
6699                container fast-detect {6611                container fast-detect {
6700                  presence "Indicates a fast-detect node is configured.";6612                  presence "Indicates a fast-detect node is configured.";
6701                  description6613                  description
6702                    "Enable Fast detection";6614                    "Enable Fast detection";
6703                  container strict-mode {6615                  container strict-mode {
6704                    presence "Indicates a strict-mode node is configured.";6616                    presence "Indicates a strict-mode node is configured.";
6705                    description6617                    description
6706                      "Hold down neighbor session until BFD session is up";6618                      "Hold down neighbor session until BFD session is up";
6707                  }6619                  }
6708                }6620                }
6709                leaf minimum-interval {6621                leaf minimum-interval {
6710                  type uint32 {6622                  type uint32 {
6711                    range "3..30000" {6623                    range "3..30000" {
6712                      description6624                      description
6713                        "minimum interval in milli-seconds";6625                        "minimum interval in milli-seconds";
6714                    }6626                    }
6715                  }6627                  }
6716                  description6628                  description
6717                    "Minimum interval";6629                    "Minimum interval";
6718                }6630                }
6719                leaf multiplier {6631                leaf multiplier {
6720                  type uint32 {6632                  type uint32 {
6721                    range "2..50" {6633                    range "2..50" {
6722                      description6634                      description
6723                        "Detect multiplier";6635                        "Detect multiplier";
6724                    }6636                    }
6725                  }6637                  }
6726                  description6638                  description
6727                    "Detect multiplier";6639                    "Detect multiplier";
6728                }6640                }
6729              }6641              }
6730              container graceful-restart {6642              container graceful-restart {
6731                description6643                description
6732                  "Enable Graceful-Restart";6644                  "Enable Graceful-Restart";
6733                container enable {6645                container enable {
6734                  presence "Indicates a enable node is configured.";6646                  presence "Indicates a enable node is configured.";
6735                  description6647                  description
6736                    "Enable Graceful-Restart";6648                    "Enable Graceful-Restart";
6737                }6649                }
6738                leaf interval {6650                leaf interval {
6739                  type uint32 {6651                  type uint32 {
6740                    range "90..3600" {6652                    range "90..3600" {
6741                      description6653                      description
6742                        "seconds";6654                        "seconds";
6743                    }6655                    }
6744                  }6656                  }
6745                  description6657                  description
6746                    "Minimum interval between Graceful Restarts (seconds)";6658                    "Minimum interval between Graceful Restarts (seconds)";
6747                }6659                }
6748                leaf lifetime {6660                leaf lifetime {
6749                  type uint32 {6661                  type uint32 {
6750                    range "90..1800" {6662                    range "90..1800" {
6751                      description6663                      description
6752                        "seconds";6664                        "seconds";
6753                    }6665                    }
6754                  }6666                  }
6755                  description6667                  description
6756                    "Maximum route lifetime following restart (seconds)";6668                    "Maximum route lifetime following restart (seconds)";
6757                }6669                }
6758                container helper {6670                container helper {
6759                  description6671                  description
6760                    "router's helper support level";6672                    "router's helper support level";
6761                  container disable {6673                  container disable {
6762                    presence "Indicates a disable node is configured.";6674                    presence "Indicates a disable node is configured.";
6763                    description6675                    description
6764                      "router's helper support disabled";6676                      "router's helper support disabled";
6765                  }6677                  }
6766                }6678                }
6767                container strict-lsa-checking {6679                container strict-lsa-checking {
6768                  presence "Indicates a strict-lsa-checking node is configured.";6680                  presence "Indicates a strict-lsa-checking node is configured.";
6769                  description6681                  description
6770                    "terminate graceful restart helper mode if lsa changed";6682                    "terminate graceful restart helper mode if lsa changed";
6771                }6683                }
6772              }6684              }
6773              container ignore {6685              container ignore {
6774                description6686                description
6775                  "Do not complain about a specified event";6687                  "Do not complain about a specified event";
6776                container lsa {6688                container lsa {
6777                  description6689                  description
6778                    "Do not complain upon receiving LSA of the specified type";6690                    "Do not complain upon receiving LSA of the specified type";
6779                  container mospf {6691                  container mospf {
6780                    presence "Indicates a mospf node is configured.";6692                    presence "Indicates a mospf node is configured.";
6781                    description6693                    description
6782                      "MOSPF Type 6 LSA";6694                      "MOSPF Type 6 LSA";
6783                  }6695                  }
6784                }6696                }
6785              }6697              }
6786              container authentication {6698              container authentication {
6787                must "disable or ipsec/spi";6699                must "disable or ipsec/spi";
6788                presence "Indicates a authentication node is configured.";6700                presence "Indicates a authentication node is configured.";
6789                description6701                description
6790                  "Authenticate OSPFv3 packets";6702                  "Authenticate OSPFv3 packets";
6791                container disable {6703                container disable {
6792                  must "not(../ipsec/spi)";6704                  must "not(../ipsec/spi)";
6793                  presence "Indicates a disable node is configured.";6705                  presence "Indicates a disable node is configured.";
6794                  description6706                  description
6795                    "Do not authenticate OSPFv3 packets";6707                    "Do not authenticate OSPFv3 packets";
6796                }6708                }
6797                container ipsec {6709                container ipsec {
6798                  description6710                  description
6799                    "Use IPSec AH authentication";6711                    "Use IPSec AH authentication";
6800                  container spi {6712                  container spi {
6801                    must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";6713                    must "not(../../disable) and ((md5/password/encrypted and not(sha1/password/encrypted)) or (sha1/password/encrypted and not(md5/password/encrypted)))";
6802                    presence "Indicates a spi node is configured.";6714                    presence "Indicates a spi node is configured.";
6803                    description6715                    description
6804                      "Specify the Security Parameter Index value";6716                      "Specify the Security Parameter Index value";
6805                    leaf spi-index {6717                    leaf spi-index {
6806                      type uint32 {6718                      type uint32 {
6807                        range "256..4294967295" {6719                        range "256..4294967295" {
6808                          description6720                          description
6809                            "Security Parameter Index value";6721                            "Security Parameter Index value";
6810                        }6722                        }
6811                      }6723                      }
6812                      mandatory true;6724                      mandatory true;
6813                      description6725                      description
6814                        "Specify the Security Parameter Index value";6726                        "Specify the Security Parameter Index value";
6815                    }6727                    }
6816                    container md5 {6728                    container md5 {
6817                      description6729                      description
6818                        "Use the MD5 algorithim";6730                        "Use the MD5 algorithim";
6819                      container password {6731                      container password {
6820                        description6732                        description
6821                          "Enter MD5 key in encrypted form";6733                          "Enter MD5 key in encrypted form";
6822                        leaf encrypted {6734                        leaf encrypted {
6823                          type xr:Proprietary-password;6735                          type xr:Proprietary-password;
6824                          description6736                          description
6825                            "Encrypted key";6737                            "Encrypted key";
6826                        }6738                        }
6827                      }6739                      }
6828                    }6740                    }
6829                    container sha1 {6741                    container sha1 {
6830                      description6742                      description
6831                        "Use the SHA1 algorithim";6743                        "Use the SHA1 algorithim";
6832                      container password {6744                      container password {
6833                        description6745                        description
6834                          "Enter SHA1 key in encrypted form";6746                          "Enter SHA1 key in encrypted form";
6835                        leaf encrypted {6747                        leaf encrypted {
6836                          type xr:Proprietary-password;6748                          type xr:Proprietary-password;
6837                          description6749                          description
6838                            "Encrypted key";6750                            "Encrypted key";
6839                        }6751                        }
6840                      }6752                      }
6841                    }6753                    }
6842                  }6754                  }
6843                }6755                }
6844              }6756              }
6845              container encryption {6757              container encryption {
6846                must "disable or ipsec/spi";6758                must "disable or ipsec/spi";
6847                presence "Indicates a encryption node is configured.";6759                presence "Indicates a encryption node is configured.";
6848                description6760                description
6849                  "Encrypt and authenticate OSPFv3 packets";6761                  "Encrypt and authenticate OSPFv3 packets";
6850                container disable {6762                container disable {
6851                  must "not(../ipsec/spi)";6763                  must "not(../ipsec/spi)";
6852                  presence "Indicates a disable node is configured.";6764                  presence "Indicates a disable node is configured.";
6853                  description6765                  description
6854                    "Do not encrypt OSPFv3 packets";6766                    "Do not encrypt OSPFv3 packets";
6855                }6767                }
6856                container ipsec {6768                container ipsec {
6857                  description6769                  description
6858                    "Use IPSec ESP encryption and authentication";6770                    "Use IPSec ESP encryption and authentication";
6859                  container spi {6771                  container spi {
6860                    must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";6772                    must "not(../../disable) and (esp/null or esp/des/password/encrypted or esp/triple-des/password/encrypted or esp/aes/password/encrypted or esp/aes/aes-192/password/encrypted or esp/aes/aes-256/password/encrypted)";
6861                    presence "Indicates a spi node is configured.";6773                    presence "Indicates a spi node is configured.";
6862                    description6774                    description
6863                      "Specify the Security Parameter Index value";6775                      "Specify the Security Parameter Index value";
6864                    leaf spi-index {6776                    leaf spi-index {
6865                      type uint32 {6777                      type uint32 {
6866                        range "256..4294967295" {6778                        range "256..4294967295" {
6867                          description6779                          description
6868                            "Security Parameter Index value";6780                            "Security Parameter Index value";
6869                        }6781                        }
6870                      }6782                      }
6871                      mandatory true;6783                      mandatory true;
6872                      description6784                      description
6873                        "Specify the Security Parameter Index value";6785                        "Specify the Security Parameter Index value";
6874                    }6786                    }
6875                    container esp {6787                    container esp {
6876                      description6788                      description
6877                        "Specify encryption parameters";6789                        "Specify encryption parameters";
6878                      container null {6790                      container null {
6879                        must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";6791                        must "../authentication and not(../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted)";
6880                        presence "Indicates a null node is configured.";6792                        presence "Indicates a null node is configured.";
6881                        description6793                        description
6882                          "Use NULL encryption";6794                          "Use NULL encryption";
6883                      }6795                      }
6884                      container des {6796                      container des {
6885                        description6797                        description
6886                          "Use the DES algorithim. Encrypted DES key (34 hex digits)";6798                          "Use the DES algorithim. Encrypted DES key (34 hex digits)";
6887                        container password {6799                        container password {
6888                          description6800                          description
6889                            "Enter DES key in encrypted form";6801                            "Enter DES key in encrypted form";
6890                          leaf encrypted {6802                          leaf encrypted {
6891                            type xr:Proprietary-password;6803                            type xr:Proprietary-password;
6892                            must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";6804                            must "not(../../../null or ../../../triple-des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n6893                            descriptionn
6894                              "Encrypted key";
6895                          }6805                          }
6896                        }6806                        }
6897                      }6807                      }
6898                      container triple-des {6808                      container triple-des {
6899                        description6809                        description
6900                          "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";6810                          "Use the triple DES algorithim. Encrypted 3DES key (48 hex digits)";
6901                        container password {6811                        container password {
6902                          description6812                          description
6903                            "Enter 3DES key in encrypted form";6813                            "Enter 3DES key in encrypted form";
6904                          leaf encrypted {6814                          leaf encrypted {
6905                            type xr:Proprietary-password;6815                            type xr:Proprietary-password;
6906                            must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";6816                            must "not(../../../null or ../../../des/password/encrypted or ../../../aes/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n6907                            descriptionn
6908                              "Encrypted key";
6909                          }6817                          }
6910                        }6818                        }
6911                      }6819                      }
6912                      container aes {6820                      container aes {
6913                        description6821                        description
6914                          "Use the AES algorithim. Encrypted AES key (32 hex digits)";6822                          "Use the AES algorithim. Encrypted AES key (32 hex digits)";
6915                        container password {6823                        container password {
6916                          description6824                          description
6917                            "Enter AES key in encrypted form";6825                            "Enter AES key in encrypted form";
6918                          leaf encrypted {6826                          leaf encrypted {
6919                            type xr:Proprietary-password;6827                            type xr:Proprietary-password;
6920                            must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";6828                            must "not(../../../null or ../../../des/password/encrypted or ../../../triple-des/password/encrypted or ../../../aes/aes-192/password/encrypted or ../../../aes/aes-256/password/encrypted)";
n6921                            descriptionn
6922                              "Encrypted key";
6923                          }6829                          }
6924                        }6830                        }
6925                        container aes-192 {6831                        container aes-192 {
6926                          description6832                          description
6927                            "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";6833                            "Use the 192-bit AES algorithim. Encrypted AES-192 key (48 hex digits)";
6928                          container password {6834                          container password {
6929                            description6835                            description
6930                              "Enter AES-192 key in encrypted form";6836                              "Enter AES-192 key in encrypted form";
6931                            leaf encrypted {6837                            leaf encrypted {
6932                              type xr:Proprietary-password;6838                              type xr:Proprietary-password;
6933                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";6839                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-256/password/encrypted)";
n6934                              descriptionn
6935                                "Encrypted key";
6936                            }6840                            }
6937                          }6841                          }
6938                        }6842                        }
6939                        container aes-256 {6843                        container aes-256 {
6940                          description6844                          description
6941                            "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";6845                            "Use the 256-bit AES algorithim. Encrypted AES-256 key (64 hex digits)";
6942                          container password {6846                          container password {
6943                            description6847                            description
6944                              "Enter AES-256 key in encrypted form";6848                              "Enter AES-256 key in encrypted form";
6945                            leaf encrypted {6849                            leaf encrypted {
6946                              type xr:Proprietary-password;6850                              type xr:Proprietary-password;
6947                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";6851                              must "not(../../../../null or ../../../../des/password/encrypted or ../../../../triple-des/password/encrypted or ../../../../aes/password/encrypted or ../../../../aes/aes-192/password/encrypted)";
n6948                              descriptionn
6949                                "Encrypted key";
6950                            }6852                            }
6951                          }6853                          }
6952                        }6854                        }
6953                      }6855                      }
6954                      container authentication {6856                      container authentication {
6955                        must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";6857                        must "(../null or ../des/password/encrypted or ../triple-des/password/encrypted or ../aes/password/encrypted or ../aes/aes-192/password/encrypted or ../aes/aes-256/password/encrypted) and ((md5/password/encrypted and not(sha1/password/encrypted or null)) or (sha1/password/encrypted and not(md5/password/encrypted or null)) or (null and not(md5/password/encrypted or sha1/password/encrypted)))";
6956                        presence "Indicates a authentication node is configured.";6858                        presence "Indicates a authentication node is configured.";
6957                        description6859                        description
6958                          "Specify authentication parameters";6860                          "Specify authentication parameters";
6959                        container md5 {6861                        container md5 {
6960                          description6862                          description
6961                            "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";6863                            "Use the MD5 algorithim. Encrypted MD5 key (32 hex digits)";
6962                          container password {6864                          container password {
6963                            description6865                            description
6964                              "Enter MD5 key in encrypted form";6866                              "Enter MD5 key in encrypted form";
6965                            leaf encrypted {6867                            leaf encrypted {
6966                              type xr:Proprietary-password;6868                              type xr:Proprietary-password;
6967                              description6869                              description
6968                                "Enter key in encrypted form";6870                                "Enter key in encrypted form";
6969                            }6871                            }
6970                          }6872                          }
6971                        }6873                        }
6972                        container sha1 {6874                        container sha1 {
6973                          description6875                          description
6974                            "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";6876                            "Use the SHA1 algorithim. Encrypted SHA1 key (40 hex digits)";
6975                          container password {6877                          container password {
6976                            description6878                            description
6977                              "Enter SHA1 key in encrypted form";6879                              "Enter SHA1 key in encrypted form";
6978                            leaf encrypted {6880                            leaf encrypted {
6979                              type xr:Proprietary-password;6881                              type xr:Proprietary-password;
6980                              description6882                              description
6981                                "Enter key in encrypted form";6883                                "Enter key in encrypted form";
6982                            }6884                            }
6983                          }6885                          }
6984                        }6886                        }
6985                        container null {6887                        container null {
6986                          must "not(../../null)";6888                          must "not(../../null)";
6987                          presence "Indicates a null node is configured.";6889                          presence "Indicates a null node is configured.";
6988                          description6890                          description
6989                            "Use NULL authentication";6891                            "Use NULL authentication";
6990                        }6892                        }
6991                      }6893                      }
6992                    }6894                    }
6993                  }6895                  }
6994                }6896                }
6995              }6897              }
6996              container network {6898              container network {
6997                description6899                description
6998                  "Network type";6900                  "Network type";
6999                container broadcast {6901                container broadcast {
7000                  presence "Indicates a broadcast node is configured.";6902                  presence "Indicates a broadcast node is configured.";
7001                  description6903                  description
7002                    "Specify OSPFv3 broadcast multi-access network";6904                    "Specify OSPFv3 broadcast multi-access network";
7003                }6905                }
7004                container non-broadcast {6906                container non-broadcast {
7005                  presence "Indicates a non-broadcast node is configured.";6907                  presence "Indicates a non-broadcast node is configured.";
7006                  description6908                  description
7007                    "Specify OSPFv3 NBMA network";6909                    "Specify OSPFv3 NBMA network";
7008                }6910                }
7009                container point-to-point {6911                container point-to-point {
7010                  presence "Indicates a point-to-point node is configured.";6912                  presence "Indicates a point-to-point node is configured.";
7011                  description6913                  description
7012                    "Specify OSPFv3 point-to-point network";6914                    "Specify OSPFv3 point-to-point network";
7013                }6915                }
7014                container point-to-multipoint {6916                container point-to-multipoint {
7015                  presence "Indicates a point-to-multipoint node is configured.";6917                  presence "Indicates a point-to-multipoint node is configured.";
7016                  description6918                  description
7017                    "Specify OSPFv3 point-to-multipoint network";6919                    "Specify OSPFv3 point-to-multipoint network";
7018                }6920                }
7019              }6921              }
7020              leaf cost {6922              leaf cost {
7021                type uint32 {6923                type uint32 {
7022                  range "1..65535" {6924                  range "1..65535" {
7023                    description6925                    description
7024                      "Cost";6926                      "Cost";
7025                  }6927                  }
7026                }6928                }
7027                description6929                description
7028                  "Interface cost";6930                  "Interface cost";
7029              }6931              }
7030              leaf hello-interval {6932              leaf hello-interval {
7031                type uint32 {6933                type uint32 {
7032                  range "1..65535" {6934                  range "1..65535" {
7033                    description6935                    description
7034                      "Seconds";6936                      "Seconds";
7035                  }6937                  }
7036                }6938                }
7037                description6939                description
7038                  "Time between HELLO packets";6940                  "Time between HELLO packets";
7039              }6941              }
7040              leaf dead-interval {6942              leaf dead-interval {
7041                type uint32 {6943                type uint32 {
7042                  range "1..65535" {6944                  range "1..65535" {
7043                    description6945                    description
7044                      "Seconds";6946                      "Seconds";
7045                  }6947                  }
7046                }6948                }
7047                description6949                description
7048                  "Interval after which a neighbor is declared dead";6950                  "Interval after which a neighbor is declared dead";
7049              }6951              }
7050              leaf priority {6952              leaf priority {
7051                type uint32 {6953                type uint32 {
7052                  range "0..255" {6954                  range "0..255" {
7053                    description6955                    description
7054                      "Priority";6956                      "Priority";
7055                  }6957                  }
7056                }6958                }
7057                description6959                description
7058                  "Router priority";6960                  "Router priority";
7059              }6961              }
7060              leaf retransmit-interval {6962              leaf retransmit-interval {
7061                type uint32 {6963                type uint32 {
7062                  range "1..65535" {6964                  range "1..65535" {
7063                    description6965                    description
7064                      "Seconds";6966                      "Seconds";
7065                  }6967                  }
7066                }6968                }
7067                description6969                description
7068                  "Delay between LSA retransmissions";6970                  "Delay between LSA retransmissions";
7069              }6971              }
7070              leaf transmit-delay {6972              leaf transmit-delay {
7071                type uint32 {6973                type uint32 {
7072                  range "1..65535" {6974                  range "1..65535" {
7073                    description6975                    description
7074                      "Seconds";6976                      "Seconds";
7075                  }6977                  }
7076                }6978                }
7077                description6979                description
7078                  "Link state transmit delay";6980                  "Link state transmit delay";
7079              }6981              }
7080              container flood-reduction {6982              container flood-reduction {
7081                presence "Indicates a flood-reduction node is configured.";6983                presence "Indicates a flood-reduction node is configured.";
7082                description6984                description
7083                  "Enable/Disable flood reduction";6985                  "Enable/Disable flood reduction";
7084              }6986              }
7085              container demand-circuit {6987              container demand-circuit {
7086                presence "Indicates a demand-circuit node is configured.";6988                presence "Indicates a demand-circuit node is configured.";
7087                description6989                description
7088                  "Enable/Disable demand circuit operation";6990                  "Enable/Disable demand circuit operation";
7089              }6991              }
7090              container mtu-ignore {6992              container mtu-ignore {
7091                presence "Indicates a mtu-ignore node is configured.";6993                presence "Indicates a mtu-ignore node is configured.";
7092                description6994                description
7093                  "Enable/Disable ignoring of MTU in DBD packets";6995                  "Enable/Disable ignoring of MTU in DBD packets";
7094              }6996              }
7095              leaf instance {6997              leaf instance {
7096                type uint32 {6998                type uint32 {
7097                  range "0..255" {6999                  range "0..255" {
7098                    description7000                    description
7099                      "Instance ID";7001                      "Instance ID";
7100                  }7002                  }
7101                }7003                }
7102                description7004                description
7103                  "Instance ID";7005                  "Instance ID";
7104              }7006              }
7105              container database-filter {7007              container database-filter {
7106                description7008                description
7107                  "Filter LSAs during synchronization and flooding";7009                  "Filter LSAs during synchronization and flooding";
7108                container all {7010                container all {
7109                  description7011                  description
7110                    "Filter all LSA";7012                    "Filter all LSA";
7111                  container out {7013                  container out {
7112                    presence "Indicates a out node is configured.";7014                    presence "Indicates a out node is configured.";
7113                    description7015                    description
7114                      "Outgoing LSA";7016                      "Outgoing LSA";
7115                  }7017                  }
7116                }7018                }
7117              }7019              }
7118              container passive {7020              container passive {
7119                presence "Indicates a passive node is configured.";7021                presence "Indicates a passive node is configured.";
7120                description7022                description
7121                  "Enable/Disable routing updates on an interface";7023                  "Enable/Disable routing updates on an interface";
7122              }7024              }
7123              container log {7025              container log {
7124                description7026                description
7125                  "Control OSPFv3 console logging";7027                  "Control OSPFv3 console logging";
7126                container adjacency {7028                container adjacency {
7127                  description7029                  description
7128                    "Log adjacency state changes";7030                    "Log adjacency state changes";
7129                  container changes {7031                  container changes {
7130                    description7032                    description
7131                      "Log changes";7033                      "Log changes";
7132                    container detail {7034                    container detail {
7133                      presence "Indicates a detail node is configured.";7035                      presence "Indicates a detail node is configured.";
7134                      description7036                      description
7135                        "Log all state changes";7037                        "Log all state changes";
7136                    }7038                    }
7137                    container disable {7039                    container disable {
7138                      presence "Indicates a disable node is configured.";7040                      presence "Indicates a disable node is configured.";
7139                      description7041                      description
7140                        "Disable logging";7042                        "Disable logging";
7141                    }7043                    }
7142                  }7044                  }
7143                }7045                }
7144              }7046              }
7145              container maximum {7047              container maximum {
7146                description7048                description
7147                  "Set OSPFv3 limits";7049                  "Set OSPFv3 limits";
7148                leaf interfaces {7050                leaf interfaces {
7149                  type uint32 {7051                  type uint32 {
7150                    range "1..4294967295" {7052                    range "1..4294967295" {
7151                      description7053                      description
7152                        "Maximum number of interfaces";7054                        "Maximum number of interfaces";
7153                    }7055                    }
7154                  }7056                  }
7155                  description7057                  description
7156                    "Limit number of interfaces";7058                    "Limit number of interfaces";
7157                }7059                }
7158                leaf paths {7060                leaf paths {
7159                  type uint32 {7061                  type uint32 {
7160                    range "1..64" {7062                    range "1..64" {
7161                      description7063                      description
7162                        "Maximum number of paths per route";7064                        "Maximum number of paths per route";
7163                    }7065                    }
7164                  }7066                  }
7165                  description7067                  description
7166                    "Limit number of paths";7068                    "Limit number of paths";
7167                }7069                }
7168                container redistributed-prefixes {7070                container redistributed-prefixes {
7169                  presence "Indicates a redistributed-prefixes node is configured.";7071                  presence "Indicates a redistributed-prefixes node is configured.";
7170                  description7072                  description
7171                    "Limit number of redistributed prefixes";7073                    "Limit number of redistributed prefixes";
7172                  leaf prefixes {7074                  leaf prefixes {
7173                    type uint32 {7075                    type uint32 {
7174                      range "1..4294967295" {7076                      range "1..4294967295" {
7175                        description7077                        description
7176                          "Maximum number of prefixes redistributed into OSPFv3";7078                          "Maximum number of prefixes redistributed into OSPFv3";
7177                      }7079                      }
7178                    }7080                    }
7179                    mandatory true;7081                    mandatory true;
7180                    description7082                    description
7181                      "Limit number of redistributed prefixes";7083                      "Limit number of redistributed prefixes";
7182                  }7084                  }
7183                  leaf threshold {7085                  leaf threshold {
7184                    type uint32 {7086                    type uint32 {
7185                      range "1..100";7087                      range "1..100";
7186                    }7088                    }
7187                    description7089                    description
7188                      "Threshold value (%) at which to generate a warning msg";7090                      "Threshold value (%) at which to generate a warning msg";
7189                  }7091                  }
7190                  container warning-only {7092                  container warning-only {
7191                    presence "Indicates a warning-only node is configured.";7093                    presence "Indicates a warning-only node is configured.";
7192                    description7094                    description
7193                      "Only give warning message when limit is exceeded";7095                      "Only give warning message when limit is exceeded";
7194                  }7096                  }
7195                }7097                }
7196              }7098              }
7197              container redistribute {7099              container redistribute {
7198                description7100                description
7199                  "Redistribute information from another routing protocol";7101                  "Redistribute information from another routing protocol";
7200                container connected {7102                container connected {
7201                  presence "Indicates a connected node is configured.";7103                  presence "Indicates a connected node is configured.";
7202                  description7104                  description
7203                    "Connected routes";7105                    "Connected routes";
7204                  container metric {7106                  container metric {
7205                    description7107                    description
7206                      "Metric for redistributed routes";7108                      "Metric for redistributed routes";
7207                    leaf default-metric {7109                    leaf default-metric {
7208                      type uint32 {7110                      type uint32 {
7209                        range "0..16777214" {7111                        range "0..16777214" {
7210                          description7112                          description
7211                            "OSPFv3 default metric";7113                            "OSPFv3 default metric";
7212                        }7114                        }
7213                      }7115                      }
7214                      description7116                      description
7215                        "OSPFv3 default metric";7117                        "OSPFv3 default metric";
7216                    }7118                    }
7217                    container use-rib-metric {7119                    container use-rib-metric {
7218                      presence "Indicates a use-rib-metric node is configured.";7120                      presence "Indicates a use-rib-metric node is configured.";
7219                      description7121                      description
7220                        "Use metric from RIB";7122                        "Use metric from RIB";
7221                    }7123                    }
7222                  }7124                  }
7223                  leaf metric-type {7125                  leaf metric-type {
7224                    type enumeration {7126                    type enumeration {
7225                      enum "1" {7127                      enum "1" {
7226                        value 1;7128                        value 1;
7227                        description7129                        description
7228                          "Set OSPFv3 External Type 1 metrics";7130                          "Set OSPFv3 External Type 1 metrics";
7229                      }7131                      }
7230                      enum "2" {7132                      enum "2" {
7231                        value 2;7133                        value 2;
7232                        description7134                        description
7233                          "Set OSPFv3 External Type 2 metrics";7135                          "Set OSPFv3 External Type 2 metrics";
7234                      }7136                      }
7235                    }7137                    }
7236                    description7138                    description
7237                      "OSPFv3 exterior metric type for redistributed routes";7139                      "OSPFv3 exterior metric type for redistributed routes";
7238                  }7140                  }
7239                  leaf tag {7141                  leaf tag {
7240                    type uint32 {7142                    type uint32 {
7241                      range "0..4294967295" {7143                      range "0..4294967295" {
7242                        description7144                        description
7243                          "32-bit tag value";7145                          "32-bit tag value";
7244                      }7146                      }
7245                    }7147                    }
7246                    description7148                    description
7247                      "Set tag for routes redistributed into OSPFv3";7149                      "Set tag for routes redistributed into OSPFv3";
7248                  }7150                  }
7249                  leaf route-policy {7151                  leaf route-policy {
7250                    type xr:Route-policy-name;7152                    type xr:Route-policy-name;
7251                    description7153                    description
7252                      "Apply route-policy to redistribution";7154                      "Apply route-policy to redistribution";
7253                  }7155                  }
7254                }7156                }
7255                container static {7157                container static {
7256                  presence "Indicates a static node is configured.";7158                  presence "Indicates a static node is configured.";
7257                  description7159                  description
7258                    "Static routes";7160                    "Static routes";
7259                  container metric {7161                  container metric {
7260                    description7162                    description
7261                      "Metric for redistributed routes";7163                      "Metric for redistributed routes";
7262                    leaf default-metric {7164                    leaf default-metric {
7263                      type uint32 {7165                      type uint32 {
7264                        range "0..16777214" {7166                        range "0..16777214" {
7265                          description7167                          description
7266                            "OSPFv3 default metric";7168                            "OSPFv3 default metric";
7267                        }7169                        }
7268                      }7170                      }
7269                      description7171                      description
7270                        "OSPFv3 default metric";7172                        "OSPFv3 default metric";
7271                    }7173                    }
7272                    container use-rib-metric {7174                    container use-rib-metric {
7273                      presence "Indicates a use-rib-metric node is configured.";7175                      presence "Indicates a use-rib-metric node is configured.";
7274                      description7176                      description
7275                        "Use metric from RIB";7177                        "Use metric from RIB";
7276                    }7178                    }
7277                  }7179                  }
7278                  leaf metric-type {7180                  leaf metric-type {
7279                    type enumeration {7181                    type enumeration {
7280                      enum "1" {7182                      enum "1" {
7281                        value 1;7183                        value 1;
7282                        description7184                        description
7283                          "Set OSPFv3 External Type 1 metrics";7185                          "Set OSPFv3 External Type 1 metrics";
7284                      }7186                      }
7285                      enum "2" {7187                      enum "2" {
7286                        value 2;7188                        value 2;
7287                        description7189                        description
7288                          "Set OSPFv3 External Type 2 metrics";7190                          "Set OSPFv3 External Type 2 metrics";
7289                      }7191                      }
7290                    }7192                    }
7291                    description7193                    description
7292                      "OSPFv3 exterior metric type for redistributed routes";7194                      "OSPFv3 exterior metric type for redistributed routes";
7293                  }7195                  }
7294                  leaf tag {7196                  leaf tag {
7295                    type uint32 {7197                    type uint32 {
7296                      range "0..4294967295" {7198                      range "0..4294967295" {
7297                        description7199                        description
7298                          "32-bit tag value";7200                          "32-bit tag value";
7299                      }7201                      }
7300                    }7202                    }
7301                    description7203                    description
7302                      "Set tag for routes redistributed into OSPFv3";7204                      "Set tag for routes redistributed into OSPFv3";
7303                  }7205                  }
7304                  leaf route-policy {7206                  leaf route-policy {
7305                    type xr:Route-policy-name;7207                    type xr:Route-policy-name;
7306                    description7208                    description
7307                      "Apply route-policy to redistribution";7209                      "Apply route-policy to redistribution";
7308                  }7210                  }
7309                }7211                }
7310                container subscriber {7212                container subscriber {
7311                  presence "Indicates a subscriber node is configured.";7213                  presence "Indicates a subscriber node is configured.";
7312                  description7214                  description
7313                    "Subscriber routes";7215                    "Subscriber routes";
7314                  container metric {7216                  container metric {
7315                    description7217                    description
7316                      "Metric for redistributed routes";7218                      "Metric for redistributed routes";
7317                    leaf ospfv3-default-metric {7219                    leaf ospfv3-default-metric {
7318                      type uint32 {7220                      type uint32 {
7319                        range "0..16777214" {7221                        range "0..16777214" {
7320                          description7222                          description
7321                            "OSPFv3 default metric";7223                            "OSPFv3 default metric";
7322                        }7224                        }
7323                      }7225                      }
7324                      description7226                      description
7325                        "OSPFv3 default metric";7227                        "OSPFv3 default metric";
7326                    }7228                    }
7327                    container use-rib-metric {7229                    container use-rib-metric {
7328                      presence "Indicates a use-rib-metric node is configured.";7230                      presence "Indicates a use-rib-metric node is configured.";
7329                      description7231                      description
7330                        "Use metric from RIB";7232                        "Use metric from RIB";
7331                    }7233                    }
7332                  }7234                  }
7333                  leaf metric-type {7235                  leaf metric-type {
7334                    type enumeration {7236                    type enumeration {
7335                      enum "1" {7237                      enum "1" {
7336                        value 1;7238                        value 1;
7337                        description7239                        description
7338                          "Set OSPFv3 External Type 1 metrics";7240                          "Set OSPFv3 External Type 1 metrics";
7339                      }7241                      }
7340                      enum "2" {7242                      enum "2" {
7341                        value 2;7243                        value 2;
7342                        description7244                        description
7343                          "Set OSPFv3 External Type 2 metrics";7245                          "Set OSPFv3 External Type 2 metrics";
7344                      }7246                      }
7345                    }7247                    }
7346                    description7248                    description
7347                      "OSPFv3 exterior metric type for redistributed routes";7249                      "OSPFv3 exterior metric type for redistributed routes";
7348                  }7250                  }
7349                  leaf tag {7251                  leaf tag {
7350                    type uint32 {7252                    type uint32 {
7351                      range "0..4294967295" {7253                      range "0..4294967295" {
7352                        description7254                        description
7353                          "32-bit tag value";7255                          "32-bit tag value";
7354                      }7256                      }
7355                    }7257                    }
7356                    description7258                    description
7357                      "Set tag for routes redistributed into OSPFv3";7259                      "Set tag for routes redistributed into OSPFv3";
7358                  }7260                  }
7359                  leaf route-policy {7261                  leaf route-policy {
7360                    type xr:Route-policy-name;7262                    type xr:Route-policy-name;
7361                    description7263                    description
7362                      "Apply route-policy to redistribution";7264                      "Apply route-policy to redistribution";
7363                  }7265                  }
7364                }7266                }
7365                container mobile {7267                container mobile {
7366                  presence "Indicates a mobile node is configured.";7268                  presence "Indicates a mobile node is configured.";
7367                  description7269                  description
7368                    "Mobile routes";7270                    "Mobile routes";
7369                  container metric {7271                  container metric {
7370                    description7272                    description
7371                      "Metric for redistributed routes";7273                      "Metric for redistributed routes";
7372                    leaf default-metric {7274                    leaf default-metric {
7373                      type uint32 {7275                      type uint32 {
7374                        range "0..16777214" {7276                        range "0..16777214" {
7375                          description7277                          description
7376                            "OSPFv3 default metric";7278                            "OSPFv3 default metric";
7377                        }7279                        }
7378                      }7280                      }
7379                      description7281                      description
7380                        "OSPFv3 default metric";7282                        "OSPFv3 default metric";
7381                    }7283                    }
7382                    container use-rib-metric {7284                    container use-rib-metric {
7383                      presence "Indicates a use-rib-metric node is configured.";7285                      presence "Indicates a use-rib-metric node is configured.";
7384                      description7286                      description
7385                        "Use metric from RIB";7287                        "Use metric from RIB";
7386                    }7288                    }
7387                  }7289                  }
7388                  leaf metric-type {7290                  leaf metric-type {
7389                    type enumeration {7291                    type enumeration {
7390                      enum "1" {7292                      enum "1" {
7391                        value 1;7293                        value 1;
7392                        description7294                        description
7393                          "Set OSPFv3 External Type 1 metrics";7295                          "Set OSPFv3 External Type 1 metrics";
7394                      }7296                      }
7395                      enum "2" {7297                      enum "2" {
7396                        value 2;7298                        value 2;
7397                        description7299                        description
7398                          "Set OSPFv3 External Type 2 metrics";7300                          "Set OSPFv3 External Type 2 metrics";
7399                      }7301                      }
7400                    }7302                    }
7401                    description7303                    description
7402                      "OSPFv3 exterior metric type for redistributed routes";7304                      "OSPFv3 exterior metric type for redistributed routes";
7403                  }7305                  }
7404                  leaf tag {7306                  leaf tag {
7405                    type uint32 {7307                    type uint32 {
7406                      range "0..4294967295" {7308                      range "0..4294967295" {
7407                        description7309                        description
7408                          "32-bit tag value";7310                          "32-bit tag value";
7409                      }7311                      }
7410                    }7312                    }
7411                    description7313                    description
7412                      "Set tag for routes redistributed into OSPFv3";7314                      "Set tag for routes redistributed into OSPFv3";
7413                  }7315                  }
7414                  leaf route-policy {7316                  leaf route-policy {
7415                    type xr:Route-policy-name;7317                    type xr:Route-policy-name;
7416                    description7318                    description
7417                      "Apply route-policy to redistribution";7319                      "Apply route-policy to redistribution";
7418                  }7320                  }
7419                }7321                }
7420                container applications {7322                container applications {
7421                  description7323                  description
7422                    "Application routes";7324                    "Application routes";
7423                  list application {7325                  list application {
7424                    key "application-name";7326                    key "application-name";
7425                    description7327                    description
7426                      "Application routes";7328                      "Application routes";
7427                    leaf application-name {7329                    leaf application-name {
7428                      type string {7330                      type string {
7429                        length "1..1024" {7331                        length "1..1024" {
7430                          description7332                          description
7431                            "OnePK Application name";7333                            "OnePK Application name";
7432                        }7334                        }
7433                      }7335                      }
7434                      description7336                      description
7435                        "Application routes";7337                        "Application routes";
7436                    }7338                    }
7437                    container metric {7339                    container metric {
7438                      description7340                      description
7439                        "Metric for redistributed routes";7341                        "Metric for redistributed routes";
7440                      leaf default-metric {7342                      leaf default-metric {
7441                        type uint32 {7343                        type uint32 {
7442                          range "0..16777214" {7344                          range "0..16777214" {
7443                            description7345                            description
7444                              "OSPFv3 default metric";7346                              "OSPFv3 default metric";
7445                          }7347                          }
7446                        }7348                        }
7447                        description7349                        description
7448                          "OSPFv3 default metric";7350                          "OSPFv3 default metric";
7449                      }7351                      }
7450                      container use-rib-metric {7352                      container use-rib-metric {
7451                        presence "Indicates a use-rib-metric node is configured.";7353                        presence "Indicates a use-rib-metric node is configured.";
7452                        description7354                        description
7453                          "Use metric from RIB";7355                          "Use metric from RIB";
7454                      }7356                      }
7455                    }7357                    }
7456                    leaf metric-type {7358                    leaf metric-type {
7457                      type enumeration {7359                      type enumeration {
7458                        enum "1" {7360                        enum "1" {
7459                          value 1;7361                          value 1;
7460                          description7362                          description
7461                            "Set OSPFv3 External Type 1 metrics";7363                            "Set OSPFv3 External Type 1 metrics";
7462                        }7364                        }
7463                        enum "2" {7365                        enum "2" {
7464                          value 2;7366                          value 2;
7465                          description7367                          description
7466                            "Set OSPFv3 External Type 2 metrics";7368                            "Set OSPFv3 External Type 2 metrics";
7467                        }7369                        }
7468                      }7370                      }
7469                      description7371                      description
7470                        "OSPFv3 exterior metric type for redistributed routes";7372                        "OSPFv3 exterior metric type for redistributed routes";
7471                    }7373                    }
7472                    leaf tag {7374                    leaf tag {
7473                      type uint32 {7375                      type uint32 {
7474                        range "0..4294967295" {7376                        range "0..4294967295" {
7475                          description7377                          description
7476                            "32-bit tag value";7378                            "32-bit tag value";
7477                        }7379                        }
7478                      }7380                      }
7479                      description7381                      description
7480                        "Set tag for routes redistributed into OSPFv3";7382                        "Set tag for routes redistributed into OSPFv3";
7481                    }7383                    }
7482                    leaf route-policy {7384                    leaf route-policy {
7483                      type xr:Route-policy-name;7385                      type xr:Route-policy-name;
7484                      description7386                      description
7485                        "Apply route-policy to redistribution";7387                        "Apply route-policy to redistribution";
7486                    }7388                    }
7487                  }7389                  }
7488                }7390                }
7489                container bgp {7391                container bgp {
7490                  description7392                  description
7491                    "BGP routes";7393                    "BGP routes";
7492                  list as {7394                  list as {
7493                    key "as-number";7395                    key "as-number";
7494                    description7396                    description
7495                      "bgp as-number";7397                      "bgp as-number";
7496                    leaf as-number {7398                    leaf as-number {
7497                      type xr:Bgp-as-number;7399                      type xr:Bgp-as-number;
7498                      description7400                      description
7499                        "bgp as-number";7401                        "bgp as-number";
7500                    }7402                    }
7501                    container preserve-med {7403                    container preserve-med {
7502                      presence "Indicates a preserve-med node is configured.";7404                      presence "Indicates a preserve-med node is configured.";
7503                      description7405                      description
7504                        "Preserve med of BGP routes";7406                        "Preserve med of BGP routes";
7505                    }7407                    }
7506                    container preserve-bgp-default-info {7408                    container preserve-bgp-default-info {
7507                      presence "Indicates a preserve-bgp-default-info node is configured.";7409                      presence "Indicates a preserve-bgp-default-info node is configured.";
7508                      description7410                      description
7509                        "Preserve metric and metric-type of BGP default route";7411                        "Preserve metric and metric-type of BGP default route";
7510                    }7412                    }
7511                    container metric {7413                    container metric {
7512                      description7414                      description
7513                        "Metric for redistributed routes";7415                        "Metric for redistributed routes";
7514                      leaf default-metric {7416                      leaf default-metric {
7515                        type uint32 {7417                        type uint32 {
7516                          range "0..16777214" {7418                          range "0..16777214" {
7517                            description7419                            description
7518                              "OSPFv3 default metric";7420                              "OSPFv3 default metric";
7519                          }7421                          }
7520                        }7422                        }
7521                        description7423                        description
7522                          "OSPFv3 default metric";7424                          "OSPFv3 default metric";
7523                      }7425                      }
7524                      container use-rib-metric {7426                      container use-rib-metric {
7525                        presence "Indicates a use-rib-metric node is configured.";7427                        presence "Indicates a use-rib-metric node is configured.";
7526                        description7428                        description
7527                          "Use metric from RIB";7429                          "Use metric from RIB";
7528                      }7430                      }
7529                    }7431                    }
7530                    leaf metric-type {7432                    leaf metric-type {
7531                      type enumeration {7433                      type enumeration {
7532                        enum "1" {7434                        enum "1" {
7533                          value 1;7435                          value 1;
7534                          description7436                          description
7535                            "Set OSPFv3 External Type 1 metrics";7437                            "Set OSPFv3 External Type 1 metrics";
7536                        }7438                        }
7537                        enum "2" {7439                        enum "2" {
7538                          value 2;7440                          value 2;
7539                          description7441                          description
7540                            "Set OSPFv3 External Type 2 metrics";7442                            "Set OSPFv3 External Type 2 metrics";
7541                        }7443                        }
7542                      }7444                      }
7543                      description7445                      description
7544                        "OSPFv3 exterior metric type for redistributed routes";7446                        "OSPFv3 exterior metric type for redistributed routes";
7545                    }7447                    }
7546                    leaf tag {7448                    leaf tag {
7547                      type uint32 {7449                      type uint32 {
7548                        range "0..4294967295" {7450                        range "0..4294967295" {
7549                          description7451                          description
7550                            "32-bit tag value";7452                            "32-bit tag value";
7551                        }7453                        }
7552                      }7454                      }
7553                      description7455                      description
7554                        "Set tag for routes redistributed into OSPFv3";7456                        "Set tag for routes redistributed into OSPFv3";
7555                    }7457                    }
7556                    leaf route-policy {7458                    leaf route-policy {
7557                      type xr:Route-policy-name;7459                      type xr:Route-policy-name;
7558                      description7460                      description
7559                        "Apply route-policy to redistribution";7461                        "Apply route-policy to redistribution";
7560                    }7462                    }
7561                  }7463                  }
7562                }7464                }
7563                list eigrp {7465                list eigrp {
7564                  key "as-number";7466                  key "as-number";
7565                  description7467                  description
7566                    "Enhanced Interior Gateway Routing Protocol (EIGRP)";7468                    "Enhanced Interior Gateway Routing Protocol (EIGRP)";
7567                  leaf as-number {7469                  leaf as-number {
7568                    type uint32 {7470                    type uint32 {
7569                      range "1..65535" {7471                      range "1..65535" {
7570                        description7472                        description
7571                          "Autonomous system number";7473                          "Autonomous system number";
7572                      }7474                      }
7573                    }7475                    }
7574                    description7476                    description
7575                      "Enhanced Interior Gateway Routing Protocol (EIGRP)";7477                      "Enhanced Interior Gateway Routing Protocol (EIGRP)";
7576                  }7478                  }
7577                  container match {7479                  container match {
7578                    description7480                    description
7579                      "Redistribution of EIGRP routes";7481                      "Redistribution of EIGRP routes";
7580                    container internal {7482                    container internal {
7581                      presence "Indicates a internal node is configured.";7483                      presence "Indicates a internal node is configured.";
7582                      description7484                      description
7583                        "Redistribute EIGRP internal routes";7485                        "Redistribute EIGRP internal routes";
7584                    }7486                    }
7585                    container external {7487                    container external {
7586                      presence "Indicates a external node is configured.";7488                      presence "Indicates a external node is configured.";
7587                      description7489                      description
7588                        "Redistribute EIGRP external routes";7490                        "Redistribute EIGRP external routes";
7589                    }7491                    }
7590                  }7492                  }
7591                  container metric {7493                  container metric {
7592                    description7494                    description
7593                      "Metric for redistributed routes";7495                      "Metric for redistributed routes";
7594                    leaf default-metric {7496                    leaf default-metric {
7595                      type uint32 {7497                      type uint32 {
7596                        range "0..16777214" {7498                        range "0..16777214" {
7597                          description7499                          description
7598                            "OSPFv3 default metric";7500                            "OSPFv3 default metric";
7599                        }7501                        }
7600                      }7502                      }
7601                      description7503                      description
7602                        "OSPFv3 default metric";7504                        "OSPFv3 default metric";
7603                    }7505                    }
7604                    container use-rib-metric {7506                    container use-rib-metric {
7605                      presence "Indicates a use-rib-metric node is configured.";7507                      presence "Indicates a use-rib-metric node is configured.";
7606                      description7508                      description
7607                        "Use metric from RIB";7509                        "Use metric from RIB";
7608                    }7510                    }
7609                  }7511                  }
7610                  leaf metric-type {7512                  leaf metric-type {
7611                    type enumeration {7513                    type enumeration {
7612                      enum "1" {7514                      enum "1" {
7613                        value 1;7515                        value 1;
7614                        description7516                        description
7615                          "Set OSPFv3 External Type 1 metrics";7517                          "Set OSPFv3 External Type 1 metrics";
7616                      }7518                      }
7617                      enum "2" {7519                      enum "2" {
7618                        value 2;7520                        value 2;
7619                        description7521                        description
7620                          "Set OSPFv3 External Type 2 metrics";7522                          "Set OSPFv3 External Type 2 metrics";
7621                      }7523                      }
7622                    }7524                    }
7623                    description7525                    description
7624                      "OSPFv3 exterior metric type for redistributed routes";7526                      "OSPFv3 exterior metric type for redistributed routes";
7625                  }7527                  }
7626                  leaf tag {7528                  leaf tag {
7627                    type uint32 {7529                    type uint32 {
7628                      range "0..4294967295" {7530                      range "0..4294967295" {
7629                        description7531                        description
7630                          "32-bit tag value";7532                          "32-bit tag value";
7631                      }7533                      }
7632                    }7534                    }
7633                    description7535                    description
7634                      "Set tag for routes redistributed into OSPFv3";7536                      "Set tag for routes redistributed into OSPFv3";
7635                  }7537                  }
7636                  leaf route-policy {7538                  leaf route-policy {
7637                    type xr:Route-policy-name;7539                    type xr:Route-policy-name;
7638                    description7540                    description
7639                      "Apply route-policy to redistribution";7541                      "Apply route-policy to redistribution";
7640                  }7542                  }
7641                }7543                }
7642                list isis {7544                list isis {
7643                  key "instance-name";7545                  key "instance-name";
7644                  description7546                  description
7645                    "IS-IS routes";7547                    "IS-IS routes";
7646                  leaf instance-name {7548                  leaf instance-name {
7647                    type string {7549                    type string {
7648                      length "1..1024" {7550                      length "1..1024" {
7649                        description7551                        description
7650                          "IS-IS instance name";7552                          "IS-IS instance name";
7651                      }7553                      }
7652                    }7554                    }
7653                    description7555                    description
7654                      "IS-IS routes";7556                      "IS-IS routes";
7655                  }7557                  }
7656                  container level-1 {7558                  container level-1 {
7657                    presence "Indicates a level-1 node is configured.";7559                    presence "Indicates a level-1 node is configured.";
7658                    description7560                    description
7659                      "IS-IS level-1 routes only";7561                      "IS-IS level-1 routes only";
7660                  }7562                  }
7661                  container level-1-2 {7563                  container level-1-2 {
7662                    presence "Indicates a level-1-2 node is configured.";7564                    presence "Indicates a level-1-2 node is configured.";
7663                    description7565                    description
7664                      "IS-IS level-1 and level-2 routes";7566                      "IS-IS level-1 and level-2 routes";
7665                  }7567                  }
7666                  container level-2 {7568                  container level-2 {
7667                    presence "Indicates a level-2 node is configured.";7569                    presence "Indicates a level-2 node is configured.";
7668                    description7570                    description
7669                      "IS-IS level-2 routes only";7571                      "IS-IS level-2 routes only";
7670                  }7572                  }
7671                  container metric {7573                  container metric {
7672                    description7574                    description
7673                      "Metric for redistributed routes";7575                      "Metric for redistributed routes";
7674                    leaf default-metric {7576                    leaf default-metric {
7675                      type uint32 {7577                      type uint32 {
7676                        range "0..16777214" {7578                        range "0..16777214" {
7677                          description7579                          description
7678                            "OSPFv3 default metric";7580                            "OSPFv3 default metric";
7679                        }7581                        }
7680                      }7582                      }
7681                      description7583                      description
7682                        "OSPFv3 default metric";7584                        "OSPFv3 default metric";
7683                    }7585                    }
7684                    container use-rib-metric {7586                    container use-rib-metric {
7685                      presence "Indicates a use-rib-metric node is configured.";7587                      presence "Indicates a use-rib-metric node is configured.";
7686                      description7588                      description
7687                        "Use metric from RIB";7589                        "Use metric from RIB";
7688                    }7590                    }
7689                  }7591                  }
7690                  leaf metric-type {7592                  leaf metric-type {
7691                    type enumeration {7593                    type enumeration {
7692                      enum "1" {7594                      enum "1" {
7693                        value 1;7595                        value 1;
7694                        description7596                        description
7695                          "Set OSPFv3 External Type 1 metrics";7597                          "Set OSPFv3 External Type 1 metrics";
7696                      }7598                      }
7697                      enum "2" {7599                      enum "2" {
7698                        value 2;7600                        value 2;
7699                        description7601                        description
7700                          "Set OSPFv3 External Type 2 metrics";7602                          "Set OSPFv3 External Type 2 metrics";
7701                      }7603                      }
7702                    }7604                    }
7703                    description7605                    description
7704                      "OSPFv3 exterior metric type for redistributed routes";7606                      "OSPFv3 exterior metric type for redistributed routes";
7705                  }7607                  }
7706                  leaf tag {7608                  leaf tag {
7707                    type uint32 {7609                    type uint32 {
7708                      range "0..4294967295" {7610                      range "0..4294967295" {
7709                        description7611                        description
7710                          "32-bit tag value";7612                          "32-bit tag value";
7711                      }7613                      }
7712                    }7614                    }
7713                    description7615                    description
7714                      "Set tag for routes redistributed into OSPFv3";7616                      "Set tag for routes redistributed into OSPFv3";
7715                  }7617                  }
7716                  leaf route-policy {7618                  leaf route-policy {
7717                    type xr:Route-policy-name;7619                    type xr:Route-policy-name;
7718                    description7620                    description
7719                      "Apply route-policy to redistribution";7621                      "Apply route-policy to redistribution";
7720                  }7622                  }
7721                }7623                }
7722                list ospfv3 {7624                list ospfv3 {
7723                  key "process-name";7625                  key "process-name";
7724                  description7626                  description
7725                    "OSPFv3 routes";7627                    "OSPFv3 routes";
7726                  leaf process-name {7628                  leaf process-name {
7727                    type string {7629                    type string {
7728                      length "1..1024" {7630                      length "1..1024" {
7729                        description7631                        description
7730                          "OSPFv3 process name";7632                          "OSPFv3 process name";
7731                      }7633                      }
7732                    }7634                    }
7733                    description7635                    description
7734                      "OSPFv3 routes";7636                      "OSPFv3 routes";
7735                  }7637                  }
7736                  container match {7638                  container match {
7737                    description7639                    description
7738                      "Redistribution of OSPFv3 routes";7640                      "Redistribution of OSPFv3 routes";
7739                    container internal {7641                    container internal {
7740                      presence "Indicates a internal node is configured.";7642                      presence "Indicates a internal node is configured.";
7741                      description7643                      description
7742                        "Redistribute OSPFv3 internal routes";7644                        "Redistribute OSPFv3 internal routes";
7743                    }7645                    }
7744                    container external {7646                    container external {
7745                      presence "Indicates a external node is configured.";7647                      presence "Indicates a external node is configured.";
7746                      description7648                      description
7747                        "Redistribute OSPFv3 external routes";7649                        "Redistribute OSPFv3 external routes";
7748                      container one {7650                      container one {
7749                        presence "Indicates a two node is configured.";7651                        presence "Indicates a two node is configured.";
7750                        description7652                        description
7751                          "Redistribute external type 1 routes";7653                          "Redistribute external type 1 routes";
7752                      }7654                      }
7753                      container two {7655                      container two {
7754                        presence "Indicates a two node is configured.";7656                        presence "Indicates a two node is configured.";
7755                        description7657                        description
7756                          "Redistribute external type 2 routes";7658                          "Redistribute external type 2 routes";
7757                      }7659                      }
7758                    }7660                    }
7759                    container nssa-external {7661                    container nssa-external {
7760                      presence "Indicates a nssa-external node is configured.";7662                      presence "Indicates a nssa-external node is configured.";
7761                      description7663                      description
7762                        "Redistribute OSPFv3 NSSA external routes";7664                        "Redistribute OSPFv3 NSSA external routes";
7763                      container one {7665                      container one {
7764                        presence "Indicates a one node is configured.";7666                        presence "Indicates a one node is configured.";
7765                        description7667                        description
7766                          "Redistribute NSSA external type 1 routes";7668                          "Redistribute NSSA external type 1 routes";
7767                      }7669                      }
7768                      container two {7670                      container two {
7769                        presence "Indicates a two node is configured.";7671                        presence "Indicates a two node is configured.";
7770                        description7672                        description
7771                          "Redistribute NSSA external type 2 routes";7673                          "Redistribute NSSA external type 2 routes";
7772                      }7674                      }
7773                    }7675                    }
7774                  }7676                  }
7775                  container metric {7677                  container metric {
7776                    description7678                    description
7777                      "Metric for redistributed routes";7679                      "Metric for redistributed routes";
7778                    leaf default-metric {7680                    leaf default-metric {
7779                      type uint32 {7681                      type uint32 {
7780                        range "0..16777214" {7682                        range "0..16777214" {
7781                          description7683                          description
7782                            "OSPFv3 default metric";7684                            "OSPFv3 default metric";
7783                        }7685                        }
7784                      }7686                      }
7785                      description7687                      description
7786                        "OSPFv3 default metric";7688                        "OSPFv3 default metric";
7787                    }7689                    }
7788                    container use-rib-metric {7690                    container use-rib-metric {
7789                      presence "Indicates a use-rib-metric node is configured.";7691                      presence "Indicates a use-rib-metric node is configured.";
7790                      description7692                      description
7791                        "Use metric from RIB";7693                        "Use metric from RIB";
7792                    }7694                    }
7793                  }7695                  }
7794                  leaf metric-type {7696                  leaf metric-type {
7795                    type enumeration {7697                    type enumeration {
7796                      enum "1" {7698                      enum "1" {
7797                        value 1;7699                        value 1;
7798                        description7700                        description
7799                          "Set OSPFv3 External Type 1 metrics";7701                          "Set OSPFv3 External Type 1 metrics";
7800                      }7702                      }
7801                      enum "2" {7703                      enum "2" {
7802                        value 2;7704                        value 2;
7803                        description7705                        description
7804                          "Set OSPFv3 External Type 2 metrics";7706                          "Set OSPFv3 External Type 2 metrics";
7805                      }7707                      }
7806                    }7708                    }
7807                    description7709                    description
7808                      "OSPFv3 exterior metric type for redistributed routes";7710                      "OSPFv3 exterior metric type for redistributed routes";
7809                  }7711                  }
7810                  leaf tag {7712                  leaf tag {
7811                    type uint32 {7713                    type uint32 {
7812                      range "0..4294967295" {7714                      range "0..4294967295" {
7813                        description7715                        description
7814                          "32-bit tag value";7716                          "32-bit tag value";
7815                      }7717                      }
7816                    }7718                    }
7817                    description7719                    description
7818                      "Set tag for routes redistributed into OSPFv3";7720                      "Set tag for routes redistributed into OSPFv3";
7819                  }7721                  }
7820                  leaf route-policy {7722                  leaf route-policy {
7821                    type xr:Route-policy-name;7723                    type xr:Route-policy-name;
7822                    description7724                    description
7823                      "Apply route-policy to redistribution";7725                      "Apply route-policy to redistribution";
7824                  }7726                  }
7825                }7727                }
7826              }7728              }
7827              leaf router-id {7729              leaf router-id {
7828                type inet:ipv4-address-no-zone;7730                type inet:ipv4-address-no-zone;
7829                description7731                description
7830                  "Specify the router-id for this OSPFv3 process";7732                  "Specify the router-id for this OSPFv3 process";
7831              }7733              }
7832              container spf {7734              container spf {
7833                description7735                description
7834                  "SPF configuration";7736                  "SPF configuration";
7835                container prefix-priority {7737                container prefix-priority {
7836                  description7738                  description
7837                    "Configure SPF prefix priority route policy";7739                    "Configure SPF prefix priority route policy";
7838                  leaf route-policy {7740                  leaf route-policy {
7839                    type xr:Route-policy-name;7741                    type xr:Route-policy-name;
7840                    description7742                    description
7841                      "Specify the route-policy to prioritize route install";7743                      "Specify the route-policy to prioritize route install";
7842                  }7744                  }
7843                  container disable {7745                  container disable {
7844                    presence "Indicates a disable node is configured.";7746                    presence "Indicates a disable node is configured.";
7845                    description7747                    description
7846                      "Disable SPF prefix priority";7748                      "Disable SPF prefix priority";
7847                  }7749                  }
7848                }7750                }
7849              }7751              }
7850              container stub-router {7752              container stub-router {
7851                description7753                description
7852                  "Enter stub router configuration submode";7754                  "Enter stub router configuration submode";
7853                container router-lsa {7755                container router-lsa {
7854                  description7756                  description
7855                    "Modify self originated router LSAs";7757                    "Modify self originated router LSAs";
7856                  container r-bit {7758                  container r-bit {
7857                    presence "Indicates a r-bit node is configured.";7759                    presence "Indicates a r-bit node is configured.";
7858                    description7760                    description
7859                      "advertise LSAs with R-bit cleared";7761                      "advertise LSAs with R-bit cleared";
7860                    container always {7762                    container always {
7861                      presence "Indicates a always node is configured.";7763                      presence "Indicates a always node is configured.";
7862                      description7764                      description
7863                        "Force ospfv3 stub router mode unconditionally";7765                        "Force ospfv3 stub router mode unconditionally";
7864                    }7766                    }
7865                    leaf on-proc-restart {7767                    leaf on-proc-restart {
7866                      type uint32 {7768                      type uint32 {
7867                        range "5..86400" {7769                        range "5..86400" {
7868                          description7770                          description
7869                            "Time in seconds to stay in stub router mode";7771                            "Time in seconds to stay in stub router mode";
7870                        }7772                        }
7871                      }7773                      }
7872                      description7774                      description
7873                        "Enter stub router mode on ospfv3 process restart";7775                        "Enter stub router mode on ospfv3 process restart";
7874                    }7776                    }
7875                    leaf on-proc-migration {7777                    leaf on-proc-migration {
7876                      type uint32 {7778                      type uint32 {
7877                        range "5..86400" {7779                        range "5..86400" {
7878                          description7780                          description
7879                            "Time in seconds to stay in stub router mode";7781                            "Time in seconds to stay in stub router mode";
7880                        }7782                        }
7881                      }7783                      }
7882                      description7784                      description
7883                        "Enter stub router mode on ospfv3 process migration";7785                        "Enter stub router mode on ospfv3 process migration";
7884                    }7786                    }
7885                    container on-startup {7787                    container on-startup {
7886                      description7788                      description
7887                        "Enter stub router mode on startup";7789                        "Enter stub router mode on startup";
7888                      leaf stay-in-time {7790                      leaf stay-in-time {
7889                        type uint32 {7791                        type uint32 {
7890                          range "5..86400" {7792                          range "5..86400" {
7891                            description7793                            description
7892                              "Time in seconds to stay in stub router mode";7794                              "Time in seconds to stay in stub router mode";
7893                          }7795                          }
7894                        }7796                        }
7895                        description7797                        description
7896                          "Time in seconds to stay in stub router mode";7798                          "Time in seconds to stay in stub router mode";
7897                      }7799                      }
7898                    }7800                    }
7899                    leaf on-switchover {7801                    leaf on-switchover {
7900                      type uint32 {7802                      type uint32 {
7901                        range "5..86400" {7803                        range "5..86400" {
7902                          description7804                          description
7903                            "Time in seconds to stay in stub router mode";7805                            "Time in seconds to stay in stub router mode";
7904                        }7806                        }
7905                      }7807                      }
7906                      description7808                      description
7907                        "Enter stub router mode on RP switchover";7809                        "Enter stub router mode on RP switchover";
7908                    }7810                    }
7909                  }7811                  }
7910                  container v6-bit {7812                  container v6-bit {
7911                    presence "Indicates a v6-bit node is configured.";7813                    presence "Indicates a v6-bit node is configured.";
7912                    description7814                    description
7913                      "advertise LSAs with V6-bit cleared";7815                      "advertise LSAs with V6-bit cleared";
7914                    container always {7816                    container always {
7915                      presence "Indicates a always node is configured.";7817                      presence "Indicates a always node is configured.";
7916                      description7818                      description
7917                        "Force ospfv3 stub router mode unconditionally";7819                        "Force ospfv3 stub router mode unconditionally";
7918                    }7820                    }
7919                    leaf on-proc-restart {7821                    leaf on-proc-restart {
7920                      type uint32 {7822                      type uint32 {
7921                        range "5..86400" {7823                        range "5..86400" {
7922                          description7824                          description
7923                            "Time in seconds to stay in stub router mode";7825                            "Time in seconds to stay in stub router mode";
7924                        }7826                        }
7925                      }7827                      }
7926                      description7828                      description
7927                        "Enter stub router mode on ospfv3 process restart";7829                        "Enter stub router mode on ospfv3 process restart";
7928                    }7830                    }
7929                    leaf on-proc-migration {7831                    leaf on-proc-migration {
7930                      type uint32 {7832                      type uint32 {
7931                        range "5..86400" {7833                        range "5..86400" {
7932                          description7834                          description
7933                            "Time in seconds to stay in stub router mode";7835                            "Time in seconds to stay in stub router mode";
7934                        }7836                        }
7935                      }7837                      }
7936                      description7838                      description
7937                        "Enter stub router mode on ospfv3 process migration";7839                        "Enter stub router mode on ospfv3 process migration";
7938                    }7840                    }
7939                    container on-startup {7841                    container on-startup {
7940                      description7842                      description
7941                        "Enter stub router mode on startup";7843                        "Enter stub router mode on startup";
7942                      leaf stay-in-time {7844                      leaf stay-in-time {
7943                        type uint32 {7845                        type uint32 {
7944                          range "5..86400" {7846                          range "5..86400" {
7945                            description7847                            description
7946                              "Time in seconds to stay in stub router mode";7848                              "Time in seconds to stay in stub router mode";
7947                          }7849                          }
7948                        }7850                        }
7949                        description7851                        description
7950                          "Time in seconds to stay in stub router mode";7852                          "Time in seconds to stay in stub router mode";
7951                      }7853                      }
7952                    }7854                    }
7953                    leaf on-switchover {7855                    leaf on-switchover {
7954                      type uint32 {7856                      type uint32 {
7955                        range "5..86400" {7857                        range "5..86400" {
7956                          description7858                          description
7957                            "Time in seconds to stay in stub router mode";7859                            "Time in seconds to stay in stub router mode";
7958                        }7860                        }
7959                      }7861                      }
7960                      description7862                      description
7961                        "Enter stub router mode on RP switchover";7863                        "Enter stub router mode on RP switchover";
7962                    }7864                    }
7963                  }7865                  }
7964                  container max-metric {7866                  container max-metric {
7965                    presence "Indicates a max-metric node is configured.";7867                    presence "Indicates a max-metric node is configured.";
7966                    description7868                    description
7967                      "advertise LSAs with maximum metric";7869                      "advertise LSAs with maximum metric";
7968                    container always {7870                    container always {
7969                      presence "Indicates a always node is configured.";7871                      presence "Indicates a always node is configured.";
7970                      description7872                      description
7971                        "Force ospfv3 stub router mode unconditionally";7873                        "Force ospfv3 stub router mode unconditionally";
7972                    }7874                    }
7973                    leaf on-proc-restart {7875                    leaf on-proc-restart {
7974                      type uint32 {7876                      type uint32 {
7975                        range "5..86400" {7877                        range "5..86400" {
7976                          description7878                          description
7977                            "Time in seconds to stay in stub router mode";7879                            "Time in seconds to stay in stub router mode";
7978                        }7880                        }
7979                      }7881                      }
7980                      description7882                      description
7981                        "Enter stub router mode on ospfv3 process restart";7883                        "Enter stub router mode on ospfv3 process restart";
7982                    }7884                    }
7983                    leaf on-proc-migration {7885                    leaf on-proc-migration {
7984                      type uint32 {7886                      type uint32 {
7985                        range "5..86400" {7887                        range "5..86400" {
7986                          description7888                          description
7987                            "Time in seconds to stay in stub router mode";7889                            "Time in seconds to stay in stub router mode";
7988                        }7890                        }
7989                      }7891                      }
7990                      description7892                      description
7991                        "Enter stub router mode on ospfv3 process migration";7893                        "Enter stub router mode on ospfv3 process migration";
7992                    }7894                    }
7993                    container on-startup {7895                    container on-startup {
7994                      description7896                      description
7995                        "Enter stub router mode on startup";7897                        "Enter stub router mode on startup";
7996                      leaf stay-in-time {7898                      leaf stay-in-time {
7997                        type uint32 {7899                        type uint32 {
7998                          range "5..86400" {7900                          range "5..86400" {
7999                            description7901                            description
8000                              "Time in seconds to stay in stub router mode";7902                              "Time in seconds to stay in stub router mode";
8001                          }7903                          }
8002                        }7904                        }
8003                        description7905                        description
8004                          "Time in seconds to stay in stub router mode";7906                          "Time in seconds to stay in stub router mode";
8005                      }7907                      }
8006                    }7908                    }
8007                    leaf on-switchover {7909                    leaf on-switchover {
8008                      type uint32 {7910                      type uint32 {
8009                        range "5..86400" {7911                        range "5..86400" {
8010                          description7912                          description
8011                            "Time in seconds to stay in stub router mode";7913                            "Time in seconds to stay in stub router mode";
8012                        }7914                        }
8013                      }7915                      }
8014                      description7916                      description
8015                        "Enter stub router mode on RP switchover";7917                        "Enter stub router mode on RP switchover";
8016                    }7918                    }
8017                    leaf external-lsa {7919                    leaf external-lsa {
8018                      type union {7920                      type union {
8019                        type uint32 {7921                        type uint32 {
8020                          range "16711680" {7922                          range "16711680" {
8021                            description7923                            description
8022                              "Use default metric";7924                              "Use default metric";
8023                          }7925                          }
8024                        }7926                        }
8025                        type uint32 {7927                        type uint32 {
8026                          range "1..16777214" {7928                          range "1..16777214" {
8027                            description7929                            description
8028                              "Metric to use while in stub router mode";7930                              "Metric to use while in stub router mode";
8029                          }7931                          }
8030                        }7932                        }
8031                      }7933                      }
8032                      description7934                      description
8033                        "Override External LSA metric in stub router mode";7935                        "Override External LSA metric in stub router mode";
8034                    }7936                    }
8035                    leaf summary-lsa {7937                    leaf summary-lsa {
8036                      type union {7938                      type union {
8037                        type uint32 {7939                        type uint32 {
8038                          range "16711680" {7940                          range "16711680" {
8039                            description7941                            description
8040                              "Use default metric";7942                              "Use default metric";
8041                          }7943                          }
8042                        }7944                        }
8043                        type uint32 {7945                        type uint32 {
8044                          range "1..16777214" {7946                          range "1..16777214" {
8045                            description7947                            description
8046                              "Metric to use while in stub router mode";7948                              "Metric to use while in stub router mode";
8047                          }7949                          }
8048                        }7950                        }
8049                      }7951                      }
8050                      description7952                      description
8051                        "Override Summary LSA metric in stub router mode";7953                        "Override Summary LSA metric in stub router mode";
8052                    }7954                    }
8053                    container include-stub {7955                    container include-stub {
8054                      presence "Indicates a include-stub node is configured.";7956                      presence "Indicates a include-stub node is configured.";
8055                      description7957                      description
8056                        "Set maximum metric for stub links in stub router mode";7958                        "Set maximum metric for stub links in stub router mode";
8057                    }7959                    }
8058                  }7960                  }
8059                }7961                }
8060              }7962              }
8061              container summary-prefixes {7963              container summary-prefixes {
8062                description7964                description
8063                  "Summarize redistributed routes matching prefix/length";7965                  "Summarize redistributed routes matching prefix/length";
8064                list summary-prefix {7966                list summary-prefix {
8065                  key "prefix prefix-length";7967                  key "prefix prefix-length";
8066                  description7968                  description
8067                    "Summarize redistributed routes matching prefix/length";7969                    "Summarize redistributed routes matching prefix/length";
8068                  leaf prefix {7970                  leaf prefix {
8069                    type inet:ipv6-address-no-zone;7971                    type inet:ipv6-address-no-zone;
8070                    description7972                    description
8071                      "Summarize redistributed routes matching prefix/length";7973                      "Summarize redistributed routes matching prefix/length";
8072                  }7974                  }
8073                  leaf prefix-length {7975                  leaf prefix-length {
8074                    type xr:Ipv6-prefix-length;7976                    type xr:Ipv6-prefix-length;
8075                    description7977                    description
8076                      "Summarize redistributed routes matching prefix/length";7978                      "Summarize redistributed routes matching prefix/length";
8077                  }7979                  }
8078                  container not-advertise {7980                  container not-advertise {
8079                    presence "Indicates a not-advertise node is configured.";7981                    presence "Indicates a not-advertise node is configured.";
8080                    description7982                    description
8081                      "Suppress routes matching prefix/length";7983                      "Suppress routes matching prefix/length";
8082                  }7984                  }
8083                  leaf tag {7985                  leaf tag {
8084                    type uint32 {7986                    type uint32 {
8085                      range "1..4294967295" {7987                      range "1..4294967295" {
8086                        description7988                        description
8087                          "32-bit tag value";7989                          "32-bit tag value";
8088                      }7990                      }
8089                    }7991                    }
8090                    description7992                    description
8091                      "32-bit tag value";7993                      "32-bit tag value";
8092                  }7994                  }
8093                }7995                }
8094              }7996              }
8095              container timers {7997              container timers {
8096                description7998                description
8097                  "Adjust routing timers";7999                  "Adjust routing timers";
8098                container lsa {8000                container lsa {
8099                  description8001                  description
8100                    "LSA timers";8002                    "LSA timers";
8101                  leaf arrival {8003                  leaf arrival {
8102                    type uint32 {8004                    type uint32 {
8103                      range "0..60000" {8005                      range "0..60000" {
8104                        description8006                        description
8105                          "The minimum interval in milliseconds between accepting the same LSA";8007                          "The minimum interval in milliseconds between accepting the same LSA";
8106                      }8008                      }
8107                    }8009                    }
8108                    description8010                    description
8109                      "LSA arrival timer";8011                      "LSA arrival timer";
8110                  }8012                  }
8111                }8013                }
8112                container pacing {8014                container pacing {
8113                  description8015                  description
8114                    "Pacing timers";8016                    "Pacing timers";
8115                  leaf flood {8017                  leaf flood {
8116                    type uint32 {8018                    type uint32 {
8117                      range "5..100" {8019                      range "5..100" {
8118                        description8020                        description
8119                          "The minimum interval in msec to pace limit flooding on interface";8021                          "The minimum interval in msec to pace limit flooding on interface";
8120                      }8022                      }
8121                    }8023                    }
8122                    description8024                    description
8123                      "Flood pacing timer";8025                      "Flood pacing timer";
8124                  }8026                  }
8125                  leaf lsa-group {8027                  leaf lsa-group {
8126                    type uint32 {8028                    type uint32 {
8127                      range "10..1800" {8029                      range "10..1800" {
8128                        description8030                        description
8129                          "Interval in seconds at which LSAs are grouped and refreshed, checksummed, or aged";8031                          "Interval in seconds at which LSAs are grouped and refreshed, checksummed, or aged";
8130                      }8032                      }
8131                    }8033                    }
8132                    description8034                    description
8133                      "LSA group pacing timer";8035                      "LSA group pacing timer";
8134                  }8036                  }
8135                  leaf retransmission {8037                  leaf retransmission {
8136                    type uint32 {8038                    type uint32 {
8137                      range "5..100" {8039                      range "5..100" {
8138                        description8040                        description
8139                          "The minimum interval in msec between neighbor retransmissions";8041                          "The minimum interval in msec between neighbor retransmissions";
8140                      }8042                      }
8141                    }8043                    }
8142                    description8044                    description
8143                      "Retransmission pacing timer";8045                      "Retransmission pacing timer";
8144                  }8046                  }
8145                }8047                }
8146                container throttle {8048                container throttle {
8147                  description8049                  description
8148                    "Throttle timers";8050                    "Throttle timers";
8149                  container lsa {8051                  container lsa {
8150                    description8052                    description
8151                      "LSA throttle timers";8053                      "LSA throttle timers";
8152                    container all {8054                    container all {
8153                      presence "Indicates a all node is configured.";8055                      presence "Indicates a all node is configured.";
8154                      description8056                      description
8155                        "For all types of OSPF LSAs";8057                        "For all types of OSPF LSAs";
8156                      leaf initial-delay {8058                      leaf initial-delay {
8157                        type uint32 {8059                        type uint32 {
8158                          range "0..600000" {8060                          range "0..600000" {
8159                            description8061                            description
8160                              "Delay to generate first occurrence of LSA in milliseconds";8062                              "Delay to generate first occurrence of LSA in milliseconds";
8161                          }8063                          }
8162                        }8064                        }
8163                        mandatory true;8065                        mandatory true;
8164                        description8066                        description
8165                          "For all types of OSPF LSAs";8067                          "For all types of OSPF LSAs";
8166                      }8068                      }
8167                      leaf minimum-delay {8069                      leaf minimum-delay {
8168                        type uint32 {8070                        type uint32 {
8169                          range "1..600000" {8071                          range "1..600000" {
8170                            description8072                            description
8171                              "Minimum delay between originating the same LSA in milliseconds";8073                              "Minimum delay between originating the same LSA in milliseconds";
8172                          }8074                          }
8173                        }8075                        }
8174                        mandatory true;8076                        mandatory true;
8175                        description8077                        description
8176                          "Minimum delay between originating the same LSA in milliseconds";8078                          "Minimum delay between originating the same LSA in milliseconds";
8177                      }8079                      }
8178                      leaf maximum-delay {8080                      leaf maximum-delay {
8179                        type uint32 {8081                        type uint32 {
8180                          range "1..600000" {8082                          range "1..600000" {
8181                            description8083                            description
8182                              "Maximum delay between originating the same LSA in milliseconds";8084                              "Maximum delay between originating the same LSA in milliseconds";
8183                          }8085                          }
8184                        }8086                        }
8185                        mandatory true;8087                        mandatory true;
8186                        description8088                        description
8187                          "Maximum delay between originating the same LSA in milliseconds";8089                          "Maximum delay between originating the same LSA in milliseconds";
8188                      }8090                      }
8189                    }8091                    }
8190                  }8092                  }
8191                  container spf {8093                  container spf {
8192                    presence "Indicates a spf node is configured.";8094                    presence "Indicates a spf node is configured.";
8193                    description8095                    description
8194                      "SPF throttle timers";8096                      "SPF throttle timers";
8195                    leaf initial-delay {8097                    leaf initial-delay {
8196                      type uint32 {8098                      type uint32 {
8197                        range "1..600000" {8099                        range "1..600000" {
8198                          description8100                          description
8199                            "Initial delay between receiving a change and starting SPF in ms";8101                            "Initial delay between receiving a change and starting SPF in ms";
8200                        }8102                        }
8201                      }8103                      }
8202                      mandatory true;8104                      mandatory true;
8203                      description8105                      description
8204                        "SPF throttle timers";8106                        "SPF throttle timers";
8205                    }8107                    }
8206                    leaf minimum-hold-time {8108                    leaf minimum-hold-time {
8207                      type uint32 {8109                      type uint32 {
8208                        range "1..600000" {8110                        range "1..600000" {
8209                          description8111                          description
8210                            "Minimum hold time between consecutive SPF calculations in ms";8112                            "Minimum hold time between consecutive SPF calculations in ms";
8211                        }8113                        }
8212                      }8114                      }
8213                      mandatory true;8115                      mandatory true;
8214                      description8116                      description
8215                        "Minimum hold time between consecutive SPF calculations in ms";8117                        "Minimum hold time between consecutive SPF calculations in ms";
8216                    }8118                    }
8217                    leaf maximum-wait-time {8119                    leaf maximum-wait-time {
8218                      type uint32 {8120                      type uint32 {
8219                        range "1..600000" {8121                        range "1..600000" {
8220                          description8122                          description
8221                            "Maximum wait time between consecutive SPF calculations in ms";8123                            "Maximum wait time between consecutive SPF calculations in ms";
8222                        }8124                        }
8223                      }8125                      }
8224                      mandatory true;8126                      mandatory true;
8225                      description8127                      description
8226                        "Maximum wait time between consecutive SPF calculations in ms";8128                        "Maximum wait time between consecutive SPF calculations in ms";
8227                    }8129                    }
8228                  }8130                  }
8229                }8131                }
8230              }8132              }
8231              container snmp {8133              container snmp {
8232                description8134                description
8233                  "SNMP configuration";8135                  "SNMP configuration";
8234                leaf context {8136                leaf context {
8235                  type string {8137                  type string {
8236                    length "1..32" {8138                    length "1..32" {
8237                      description8139                      description
8238                        "SNMP context name";8140                        "SNMP context name";
8239                    }8141                    }
8240                  }8142                  }
8241                  description8143                  description
8242                    "Specified SNMP context for OSPFv3 instance";8144                    "Specified SNMP context for OSPFv3 instance";
8243                }8145                }
8244                container trap-enable {8146                container trap-enable {
8245                  presence "Indicates a trap-enable node is configured.";8147                  presence "Indicates a trap-enable node is configured.";
8246                  description8148                  description
8247                    "Enable SNMP trap for OSPFv3 instance";8149                    "Enable SNMP trap for OSPFv3 instance";
8248                }8150                }
8249                container trap {8151                container trap {
8250                  presence "Indicates a trap node is configured.";8152                  presence "Indicates a trap node is configured.";
t8251                  descriptiont
8252                    "SNMP trap for OSPFv3 instance";
8253                  leaf rate-limit {8153                  leaf rate-limit {
8254                    type uint32 {8154                    type uint32 {
8255                      range "2..60" {8155                      range "2..60" {
8256                        description8156                        description
8257                          "Trap rate limit sliding window size";8157                          "Trap rate limit sliding window size";
8258                      }8158                      }
8259                    }8159                    }
8260                    mandatory true;8160                    mandatory true;
8261                    description8161                    description
8262                      "Adjust trap rate-limit parameters";8162                      "Adjust trap rate-limit parameters";
8263                  }8163                  }
8264                  leaf max-traps {8164                  leaf max-traps {
8265                    type uint32 {8165                    type uint32 {
8266                      range "0..300" {8166                      range "0..300" {
8267                        description8167                        description
8268                          "Max number of traps sent in window time";8168                          "Max number of traps sent in window time";
8269                      }8169                      }
8270                    }8170                    }
8271                    mandatory true;8171                    mandatory true;
8272                    description8172                    description
8273                      "Max number of traps sent in window time";8173                      "Max number of traps sent in window time";
8274                  }8174                  }
8275                }8175                }
8276              }8176              }
8277            }8177            }
8278          }8178          }
8279          container nsr {8179          container nsr {
8280            presence "Indicates a nsr node is configured.";8180            presence "Indicates a nsr node is configured.";
8281            description8181            description
8282              "Enable NSR for all VRFs in this process";8182              "Enable NSR for all VRFs in this process";
8283            container disable {8183            container disable {
8284              presence "Indicates a disable node is configured.";8184              presence "Indicates a disable node is configured.";
8285              description8185              description
8286                "Disable NSR for all VRFs in this process";8186                "Disable NSR for all VRFs in this process";
8287            }8187            }
8288          }8188          }
8289          container address-family {8189          container address-family {
8290            description8190            description
8291              "OSPFv3 address family";8191              "OSPFv3 address family";
8292            container ipv6 {8192            container ipv6 {
8293              presence "Indicates a ipv6 node is configured.";8193              presence "Indicates a ipv6 node is configured.";
8294              description8194              description
8295                "IPV6 address family";8195                "IPV6 address family";
8296              container unicast {8196              container unicast {
8297                presence "Indicates a unicast node is configured.";8197                presence "Indicates a unicast node is configured.";
8298                description8198                description
8299                  "unicast topology";8199                  "unicast topology";
8300              }8200              }
8301            }8201            }
8302          }8202          }
8303          container protocol {8203          container protocol {
8304            description8204            description
8305              "Protocol specific configuration";8205              "Protocol specific configuration";
8306            container shutdown {8206            container shutdown {
8307              presence "Indicates a shutdown node is configured.";8207              presence "Indicates a shutdown node is configured.";
8308              description8208              description
8309                "Gracefully shutdown the OSPFv3 protocol";8209                "Gracefully shutdown the OSPFv3 protocol";
8310            }8210            }
8311          }8211          }
8312          container trace {8212          container trace {
8313            description8213            description
8314              "OSPF tracing options";8214              "OSPF tracing options";
8315            container sizes {8215            container sizes {
8316              description8216              description
8317                "Delete existing buffer and create one with N entries";8217                "Delete existing buffer and create one with N entries";
8318              list size {8218              list size {
8319                key "trace-buffer-name";8219                key "trace-buffer-name";
8320                description8220                description
8321                  "Delete existing buffer and create one with N entries";8221                  "Delete existing buffer and create one with N entries";
8322                leaf trace-buffer-name {8222                leaf trace-buffer-name {
8323                  type xr:Cisco-ios-xr-string {8223                  type xr:Cisco-ios-xr-string {
8324                    length "1..1024" {8224                    length "1..1024" {
8325                      description8225                      description
8326                        "Name of trace buffer";8226                        "Name of trace buffer";
8327                    }8227                    }
8328                  }8228                  }
8329                  description8229                  description
8330                    "Delete existing buffer and create one with N entries";8230                    "Delete existing buffer and create one with N entries";
8331                }8231                }
8332                leaf trace-entry-size {8232                leaf trace-entry-size {
8333                  type enumeration {8233                  type enumeration {
8334                    enum "0" {8234                    enum "0" {
8335                      value 0;8235                      value 0;
8336                      description8236                      description
8337                        "disable trace";8237                        "disable trace";
8338                    }8238                    }
8339                    enum "256" {8239                    enum "256" {
8340                      value 256;8240                      value 256;
8341                      description8241                      description
8342                        "trace entries";8242                        "trace entries";
8343                    }8243                    }
8344                    enum "512" {8244                    enum "512" {
8345                      value 512;8245                      value 512;
8346                      description8246                      description
8347                        "trace entries";8247                        "trace entries";
8348                    }8248                    }
8349                    enum "1024" {8249                    enum "1024" {
8350                      value 1024;8250                      value 1024;
8351                      description8251                      description
8352                        "trace entries";8252                        "trace entries";
8353                    }8253                    }
8354                    enum "2048" {8254                    enum "2048" {
8355                      value 2048;8255                      value 2048;
8356                      description8256                      description
8357                        "trace entries";8257                        "trace entries";
8358                    }8258                    }
8359                    enum "4096" {8259                    enum "4096" {
8360                      value 4096;8260                      value 4096;
8361                      description8261                      description
8362                        "trace entries";8262                        "trace entries";
8363                    }8263                    }
8364                    enum "8192" {8264                    enum "8192" {
8365                      value 8192;8265                      value 8192;
8366                      description8266                      description
8367                        "trace entries";8267                        "trace entries";
8368                    }8268                    }
8369                    enum "16384" {8269                    enum "16384" {
8370                      value 16384;8270                      value 16384;
8371                      description8271                      description
8372                        "trace entries";8272                        "trace entries";
8373                    }8273                    }
8374                    enum "32768" {8274                    enum "32768" {
8375                      value 32768;8275                      value 32768;
8376                      description8276                      description
8377                        "trace entries";8277                        "trace entries";
8378                    }8278                    }
8379                    enum "65536" {8279                    enum "65536" {
8380                      value 65536;8280                      value 65536;
8381                      description8281                      description
8382                        "trace entries";8282                        "trace entries";
8383                    }8283                    }
8384                  }8284                  }
8385                  description8285                  description
8386                    "Number of trece entries";8286                    "Number of trece entries";
8387                }8287                }
8388              }8288              }
8389            }8289            }
8390          }8290          }
8391        }8291        }
8392      }8292      }
8393    }8293    }
8394  }8294  }
8395  container ospfv3 {8295  container ospfv3 {
8396    description8296    description
8397      "Global OSPFv3 configuration commands";8297      "Global OSPFv3 configuration commands";
8398    container name-lookup {8298    container name-lookup {
8399      presence "Indicates a name-lookup node is configured.";8299      presence "Indicates a name-lookup node is configured.";
8400      description8300      description
8401        "Display OSPFv3 router ids as DNS names";8301        "Display OSPFv3 router ids as DNS names";
8402    }8302    }
8403  }8303  }
8404}8304}
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op